mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-05-06 02:07:53 +08:00
fix: is_installed - consider --index-url pattern
This commit is contained in:
@ -448,7 +448,7 @@ def is_installed(name):
|
||||
if name.startswith('#'):
|
||||
return True
|
||||
|
||||
pattern = r'([^<>!=]+)([<>!=]=?)(.*)'
|
||||
pattern = r'([^<>!=]+)([<>!=]=?)([^ ]*)'
|
||||
match = re.search(pattern, name)
|
||||
|
||||
if match:
|
||||
|
||||
Reference in New Issue
Block a user