get_installed_packages: return python packages names in lowercase

This commit is contained in:
bigcat88 2025-03-05 19:27:46 +02:00
parent e8c782c8e1
commit 517beeabef
No known key found for this signature in database
GPG Key ID: 1F0BF0EC3CF22721

View File

@ -246,7 +246,7 @@ def get_installed_packages(renew=False):
if y[0] == 'Package' or y[0].startswith('-'):
continue
pip_map[y[0]] = y[1]
pip_map[y[0].lower()] = y[1]
except subprocess.CalledProcessError:
logging.error("[ComfyUI-Manager] Failed to retrieve the information of installed pip packages.")
return set()