HOTFIX: This script should be executed in custom_nodes dir

This commit is contained in:
dr.lt.data 2024-05-07 09:44:12 +09:00
parent ba98615bec
commit 87f4fcce8b

View File

@ -17,8 +17,10 @@ nodelist_path = os.path.join(os.path.dirname(__file__), "custom-node-list.json")
working_directory = os.getcwd() working_directory = os.getcwd()
if os.path.basename(working_directory) != 'custom_nodes': if os.path.basename(working_directory) != 'custom_nodes':
print(f"ERROR: This script should be executed in custom_nodes dir") print(f"WARN: This script should be executed in custom_nodes dir")
exit(-1) print(f"DBG: INFO {working_directory}")
print(f"DBG: INFO {sys.argv}")
# exit(-1)
class GitProgress(RemoteProgress): class GitProgress(RemoteProgress):