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
80af43db
"...git@developer.sourcefind.cn:xx44xx42007/opencfd-scu.git" did not exist on "eaa5a40859d6aab4752d1a80554d859724233b3c"
Commit
80af43db
authored
Mar 17, 2023
by
comfyanonymous
Browse files
Switch to sorted set for path.
parent
2e73367f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
folder_paths.py
folder_paths.py
+3
-3
No files found.
folder_paths.py
View file @
80af43db
...
@@ -56,10 +56,10 @@ def get_full_path(folder_name, filename):
...
@@ -56,10 +56,10 @@ def get_full_path(folder_name, filename):
def
get_filename_list
(
folder_name
):
def
get_filename_list
(
folder_name
):
global
folder_names_and_paths
global
folder_names_and_paths
output_list
=
[]
output_list
=
set
()
folders
=
folder_names_and_paths
[
folder_name
]
folders
=
folder_names_and_paths
[
folder_name
]
for
x
in
folders
[
0
]:
for
x
in
folders
[
0
]:
output_list
+=
filter_files_extensions
(
recursive_search
(
x
),
folders
[
1
])
output_list
.
update
(
filter_files_extensions
(
recursive_search
(
x
),
folders
[
1
])
)
return
output_list
return
sorted
(
list
(
output_list
))
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