prestartup_script - invalid COMFYUI_PATH

This commit is contained in:
Dr.Lt.Data
2024-07-03 23:55:55 +09:00
parent c7586d2933
commit 0b96e46c88
3 changed files with 3 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ check_file_logging()
comfy_path = os.environ.get('COMFYUI_PATH')
if comfy_path is None:
comfy_path = os.path.abspath(sys.modules['__main__'].__file__)
comfy_path = os.path.abspath(os.path.dirname(sys.modules['__main__'].__file__))
sys.__comfyui_manager_register_message_collapse = register_message_collapse
sys.__comfyui_manager_is_import_failed_extension = is_import_failed_extension