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

@@ -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