mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2025-12-16 09:34:26 +08:00
fix: skip comment out package
This commit is contained in:
parent
8e8915f709
commit
860f7d367e
@ -14,7 +14,7 @@ import concurrent
|
|||||||
import ssl
|
import ssl
|
||||||
from urllib.parse import urlparse
|
from urllib.parse import urlparse
|
||||||
|
|
||||||
version = "V1.2"
|
version = "V1.2.1"
|
||||||
print(f"### Loading: ComfyUI-Manager ({version})")
|
print(f"### Loading: ComfyUI-Manager ({version})")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -199,6 +199,10 @@ def get_installed_packages():
|
|||||||
|
|
||||||
def is_installed(name):
|
def is_installed(name):
|
||||||
name = name.strip()
|
name = name.strip()
|
||||||
|
|
||||||
|
if name.startswith('#'):
|
||||||
|
return True
|
||||||
|
|
||||||
pattern = r'([^<>!=]+)([<>!=]=?)'
|
pattern = r'([^<>!=]+)([<>!=]=?)'
|
||||||
match = re.search(pattern, name)
|
match = re.search(pattern, name)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user