mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-16 01:57:04 +08:00
HOTFIX: This script should be executed in custom_nodes dir
This commit is contained in:
parent
ba98615bec
commit
87f4fcce8b
@ -17,8 +17,10 @@ nodelist_path = os.path.join(os.path.dirname(__file__), "custom-node-list.json")
|
||||
working_directory = os.getcwd()
|
||||
|
||||
if os.path.basename(working_directory) != 'custom_nodes':
|
||||
print(f"ERROR: This script should be executed in custom_nodes dir")
|
||||
exit(-1)
|
||||
print(f"WARN: This script should be executed in custom_nodes dir")
|
||||
print(f"DBG: INFO {working_directory}")
|
||||
print(f"DBG: INFO {sys.argv}")
|
||||
# exit(-1)
|
||||
|
||||
|
||||
class GitProgress(RemoteProgress):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user