mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-17 01:30:50 +08:00
Merge 9db1425b70 into 7dbd5dfe91
This commit is contained in:
commit
e21f71d712
2
main.py
2
main.py
@ -79,7 +79,7 @@ def execute_prestartup_script():
|
|||||||
|
|
||||||
for possible_module in possible_modules:
|
for possible_module in possible_modules:
|
||||||
module_path = os.path.join(custom_node_path, possible_module)
|
module_path = os.path.join(custom_node_path, possible_module)
|
||||||
if os.path.isfile(module_path) or module_path.endswith(".disabled") or module_path == "__pycache__":
|
if os.path.isfile(module_path) or possible_module.endswith(".disabled") or possible_module == "__pycache__":
|
||||||
continue
|
continue
|
||||||
|
|
||||||
script_path = os.path.join(module_path, "prestartup_script.py")
|
script_path = os.path.join(module_path, "prestartup_script.py")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user