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
21a563d3
Commit
21a563d3
authored
Sep 05, 2023
by
comfyanonymous
Browse files
Remove prints.
parent
eb234982
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
folder_paths.py
folder_paths.py
+0
-2
No files found.
folder_paths.py
View file @
21a563d3
...
...
@@ -131,7 +131,6 @@ def recursive_search(directory, excluded_dir_names=None):
result
=
[]
dirs
=
{
directory
:
os
.
path
.
getmtime
(
directory
)}
for
dirpath
,
subdirs
,
filenames
in
os
.
walk
(
directory
,
followlinks
=
True
,
topdown
=
True
):
print
(
"Checking directory: "
+
dirpath
)
subdirs
[:]
=
[
d
for
d
in
subdirs
if
d
not
in
excluded_dir_names
]
for
file_name
in
filenames
:
relative_path
=
os
.
path
.
relpath
(
os
.
path
.
join
(
dirpath
,
file_name
),
directory
)
...
...
@@ -139,7 +138,6 @@ def recursive_search(directory, excluded_dir_names=None):
for
d
in
subdirs
:
path
=
os
.
path
.
join
(
dirpath
,
d
)
dirs
[
path
]
=
os
.
path
.
getmtime
(
path
)
print
(
"Returning from recursive_search"
+
repr
(
result
))
return
result
,
dirs
def
filter_files_extensions
(
files
,
extensions
):
...
...
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