Commit 66e588d8 authored by comfyanonymous's avatar comfyanonymous
Browse files

Ignore folder path directories that don't exist.

parent 871a8659
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment