mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-06 03:22:33 +08:00
Compare commits
2 Commits
291be9cf7a
...
e8aeba7c4c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e8aeba7c4c | ||
|
|
ba07c89407 |
@ -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