Ignore folder path directories that don't exist.
This commit is contained in:
parent
871a86593a
commit
66e588d837
|
@ -173,8 +173,9 @@ def cached_filename_list_(folder_name):
|
|||
|
||||
folders = folder_names_and_paths[folder_name]
|
||||
for x in folders[0]:
|
||||
if x not in out[1]:
|
||||
return None
|
||||
if os.path.isdir(x):
|
||||
if x not in out[1]:
|
||||
return None
|
||||
|
||||
return out
|
||||
|
||||
|
|
Loading…
Reference in New Issue