bugfix: fix typo in apply_directory for custom_nodes_directory

This commit is contained in:
Sas van Gulik 2025-11-05 09:29:42 +01:00 committed by GitHub
parent f9618b7e4b
commit 90b6ed7d09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,7 +60,7 @@ def apply_custom_paths():
#NOTE: hierarchy of resolution should be cli args first, then environment.
if args.custom_nodes_directory:
custom_nodes_dir = os.path.abspath(args.custom_nodes_dir)
custom_nodes_dir = os.path.abspath(args.custom_nodes_directory)
logging.info(f"Setting custom nodes directory to: {custom_nodes_dir}")
folder_paths.set_custom_nodes_directory(custom_nodes_dir)
elif os.environ.get("COMFYUI_CUSTOM_NODES_DIR", None):