fix: skip comment out package

This commit is contained in:
Dr.Lt.Data 2023-11-22 19:02:22 +09:00
parent 8e8915f709
commit 860f7d367e
2 changed files with 5 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import concurrent
import ssl
from urllib.parse import urlparse
version = "V1.2"
version = "V1.2.1"
print(f"### Loading: ComfyUI-Manager ({version})")

View File

@ -199,6 +199,10 @@ def get_installed_packages():
def is_installed(name):
name = name.strip()
if name.startswith('#'):
return True
pattern = r'([^<>!=]+)([<>!=]=?)'
match = re.search(pattern, name)