Ignore folder path directories that don't exist.

This commit is contained in:
comfyanonymous 2023-06-02 16:48:56 -04:00
parent 871a86593a
commit 66e588d837
1 changed files with 3 additions and 2 deletions

View File

@ -173,6 +173,7 @@ def cached_filename_list_(folder_name):
folders = folder_names_and_paths[folder_name]
for x in folders[0]:
if os.path.isdir(x):
if x not in out[1]:
return None