From afc517ad87300caa3000ee9ca9782a589d106c49 Mon Sep 17 00:00:00 2001 From: awsr <43862868+awsr@users.noreply.github.com> Date: Mon, 9 Mar 2026 18:42:10 -0700 Subject: [PATCH] Update variable name --- modules/styles.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/styles.py b/modules/styles.py index 96a92d3ed..9b024a056 100644 --- a/modules/styles.py +++ b/modules/styles.py @@ -359,9 +359,9 @@ class StyleDatabase: def list_folder(folder): import concurrent future_items = {} - candidates = list(files_cache.list_files(folder, ext_filter=['.json'], recursive=files_cache.not_hidden)) + style_files = list(files_cache.list_files(folder, ext_filter=['.json'], recursive=files_cache.not_hidden)) with concurrent.futures.ThreadPoolExecutor(max_workers=shared.max_workers) as executor: - for fn in candidates: + for fn in style_files: future_items[executor.submit(self.load_style, fn, None)] = fn if self.built_in: fn = os.path.join('html', 'art-styles.json')