fixed: Fixed the issue where attempting to install the nightly version resulted in installing the latest version instead.

This commit is contained in:
Dr.Lt.Data
2025-02-26 21:50:31 +09:00
parent 5ef58652bf
commit f1b7f5f52f
3 changed files with 3 additions and 3 deletions

View File

@@ -1201,7 +1201,7 @@ async def install_custom_node(request):
if cnr_id in core.unified_manager.nightly_inactive_nodes or cnr_id in core.unified_manager.cnr_inactive_nodes:
core.unified_manager.unified_enable(cnr_id)
return web.Response(status=200)
else:
elif selected_version is None:
selected_version = 'latest'
if selected_version != 'nightly':