mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-22 21:00:49 +08:00
Merge pull request #25 from demoran23/patch-1
Fix for incompatible operator error
This commit is contained in:
commit
5c6b5b43f0
@ -51,7 +51,7 @@ startup_script_path = os.path.join(comfyui_manager_path, "startup-scripts")
|
|||||||
|
|
||||||
|
|
||||||
def try_install_script(url, repo_path, install_cmd):
|
def try_install_script(url, repo_path, install_cmd):
|
||||||
if platform.system() == "Windows" and comfy_ui_revision >= 1152:
|
if platform.system() == "Windows" and (not comfy_ui_revision.isdigit() or int(comfy_ui_revision) >= 1152):
|
||||||
if not os.path.exists(startup_script_path):
|
if not os.path.exists(startup_script_path):
|
||||||
os.makedirs(startup_script_path)
|
os.makedirs(startup_script_path)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user