mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-09 13:50:49 +08:00
Merge ba07c89407 into 908fd7d749
This commit is contained in:
commit
b22adc8882
@ -105,6 +105,14 @@ if not os.path.exists(input_directory):
|
||||
except:
|
||||
logging.error("Failed to create input directory")
|
||||
|
||||
custom_nodes_paths, _ = folder_names_and_paths["custom_nodes"]
|
||||
for directory in custom_nodes_paths:
|
||||
if not os.path.exists(directory):
|
||||
try:
|
||||
os.makedirs(directory)
|
||||
except:
|
||||
logging.error(f"Failed to create custom_nodes directory: {directory}")
|
||||
|
||||
def set_output_directory(output_dir: str) -> None:
|
||||
global output_directory
|
||||
output_directory = output_dir
|
||||
|
||||
Loading…
Reference in New Issue
Block a user