mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-10 21:42:37 +08:00
allow for PATH style ';' delimited custom_node directories.
This commit is contained in:
parent
90b6ed7d09
commit
764d6c43f3
@ -117,8 +117,9 @@ def set_input_directory(input_dir: str) -> None:
|
||||
|
||||
def set_custom_nodes_directory(custom_nodes_dir: str) -> None:
|
||||
#NOTE: this function doesn't need a "get_custom_nodes_directory", we have "get_folder_paths".
|
||||
# PATH style ';' delimiters allow for more folders.
|
||||
global folder_names_and_paths
|
||||
folder_names_and_paths["custom_nodes"] = ([custom_nodes_dir], set())
|
||||
folder_names_and_paths["custom_nodes"] = (custom_nodes_dir.split(";"), set())
|
||||
|
||||
def get_output_directory() -> str:
|
||||
global output_directory
|
||||
|
||||
Loading…
Reference in New Issue
Block a user