Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
00877b03
Commit
00877b03
authored
Aug 11, 2023
by
comfyanonymous
Browse files
Don't ignore extra paths that don't exist.
parent
c2058328
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
folder_paths.py
folder_paths.py
+2
-0
No files found.
folder_paths.py
View file @
00877b03
...
...
@@ -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
][:]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment