mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-18 13:04:32 +08:00
minor format
This commit is contained in:
parent
a256213eb7
commit
d659be7ef0
@ -303,7 +303,7 @@ def cached_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float]
|
|||||||
strong_cache = cache_helper.get(folder_name)
|
strong_cache = cache_helper.get(folder_name)
|
||||||
if strong_cache is not None:
|
if strong_cache is not None:
|
||||||
return strong_cache
|
return strong_cache
|
||||||
|
|
||||||
global filename_list_cache
|
global filename_list_cache
|
||||||
global folder_names_and_paths
|
global folder_names_and_paths
|
||||||
folder_name = map_legacy(folder_name)
|
folder_name = map_legacy(folder_name)
|
||||||
@ -333,7 +333,6 @@ def cached_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float]
|
|||||||
|
|
||||||
executor.shutdown(wait=True)
|
executor.shutdown(wait=True)
|
||||||
|
|
||||||
|
|
||||||
if must_invalidate.is_set():
|
if must_invalidate.is_set():
|
||||||
return None
|
return None
|
||||||
return out
|
return out
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user