fixed: A type error occurred during the creation of the pip fixer object when an error occurred while retrieving the list of installed packages.

https://github.com/Comfy-Org/ComfyUI-Manager/issues/1804
This commit is contained in:
Dr.Lt.Data
2025-05-13 02:46:34 +09:00
parent 65c0a2a1f5
commit 8bcf16dc90
3 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -256,7 +256,7 @@ def get_installed_packages(renew=False):
pip_map[normalized_name] = y[1]
except subprocess.CalledProcessError:
logging.error("[ComfyUI-Manager] Failed to retrieve the information of installed pip packages.")
return set()
return {}
return pip_map