fixed: An issue occurs when attempting to update a node pack installed via git clone if its URL has changed or if the node is not registered in custom-nodes-list.json.

https://github.com/Comfy-Org/ComfyUI-Manager/issues/1834#issuecomment-2907690538
This commit is contained in:
Dr.Lt.Data
2025-05-26 02:21:25 +09:00
parent 5c0bd0f79c
commit 0048754fe8
5 changed files with 13 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ import manager_downloader
from node_package import InstalledNodePackage
version_code = [3, 32, 4]
version_code = [3, 32, 5]
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')

View File

@@ -437,7 +437,10 @@ async def task_worker():
if res.ver == 'unknown':
url = core.unified_manager.unknown_active_nodes[node_name][0]
title = os.path.basename(url)
try:
title = os.path.basename(url)
except Exception:
title = node_name
else:
url = core.unified_manager.cnr_map[node_name].get('repository')
title = core.unified_manager.cnr_map[node_name]['name']