From a5c50253b200348c6c57a82006d8bb7678d7b89b Mon Sep 17 00:00:00 2001 From: "Alex \"mcmonkey\" Goodwin" Date: Thu, 19 Sep 2024 01:55:08 +0900 Subject: [PATCH] store the cache after validation too --- folder_paths.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folder_paths.py b/folder_paths.py index b573fa281..c81db8eb2 100644 --- a/folder_paths.py +++ b/folder_paths.py @@ -307,7 +307,7 @@ def get_filename_list(folder_name: str) -> list[str]: out = get_filename_list_(folder_name) global filename_list_cache filename_list_cache[folder_name] = out - cache_helper.set(folder_name, out) + cache_helper.set(folder_name, out) return list(out[0]) def get_save_image_path(filename_prefix: str, output_dir: str, image_width=0, image_height=0) -> tuple[str, str, int, str, str]: