mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2025-12-09 06:04:31 +08:00
fix: skip comment out package
This commit is contained in:
parent
8e8915f709
commit
860f7d367e
@ -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})")
|
||||
|
||||
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user