Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Don't ignore extra paths that don't exist.

comfyanonymous00877b036344
diff --git a/folder_paths.py b/folder_paths.py
index eb7d39b88..d3b76d0dc 100644
--- a/folder_paths.py
+++ b/folder_paths.py
@@ -111,6 +111,8 @@ def add_model_folder_path(folder_name, full_folder_path):
global folder_names_and_paths
if folder_name in folder_names_and_paths:
folder_names_and_paths[folder_name][0].append(full_folder_path)
+ else:
+ folder_names_and_paths[folder_name] = ([full_folder_path], set())
def get_folder_paths(folder_name):
return folder_names_and_paths[folder_name][0][:]