allow for PATH style ';' delimited custom_node directories.

This commit is contained in:
Sasbom 2025-11-05 11:16:59 +01:00
parent 90b6ed7d09
commit 764d6c43f3

View File

@ -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