mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-12 15:20:51 +08:00
fix: update folder path logic to use correct module path
This commit is contained in:
parent
4e2110c794
commit
9db1425b70
2
main.py
2
main.py
@ -79,7 +79,7 @@ def execute_prestartup_script():
|
||||
|
||||
for possible_module in possible_modules:
|
||||
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
|
||||
|
||||
script_path = os.path.join(module_path, "prestartup_script.py")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user