mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-14 07:22:36 +08:00
bugfix: fix typo in apply_directory for custom_nodes_directory
This commit is contained in:
parent
f9618b7e4b
commit
90b6ed7d09
2
main.py
2
main.py
@ -60,7 +60,7 @@ def apply_custom_paths():
|
|||||||
|
|
||||||
#NOTE: hierarchy of resolution should be cli args first, then environment.
|
#NOTE: hierarchy of resolution should be cli args first, then environment.
|
||||||
if args.custom_nodes_directory:
|
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}")
|
logging.info(f"Setting custom nodes directory to: {custom_nodes_dir}")
|
||||||
folder_paths.set_custom_nodes_directory(custom_nodes_dir)
|
folder_paths.set_custom_nodes_directory(custom_nodes_dir)
|
||||||
elif os.environ.get("COMFYUI_CUSTOM_NODES_DIR", None):
|
elif os.environ.get("COMFYUI_CUSTOM_NODES_DIR", None):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user