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
66e588d8
Commit
66e588d8
authored
Jun 02, 2023
by
comfyanonymous
Browse files
Ignore folder path directories that don't exist.
parent
871a8659
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
folder_paths.py
folder_paths.py
+3
-2
No files found.
folder_paths.py
View file @
66e588d8
...
@@ -173,8 +173,9 @@ def cached_filename_list_(folder_name):
...
@@ -173,8 +173,9 @@ def cached_filename_list_(folder_name):
folders
=
folder_names_and_paths
[
folder_name
]
folders
=
folder_names_and_paths
[
folder_name
]
for
x
in
folders
[
0
]:
for
x
in
folders
[
0
]:
if
x
not
in
out
[
1
]:
if
os
.
path
.
isdir
(
x
):
return
None
if
x
not
in
out
[
1
]:
return
None
return
out
return
out
...
...
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