From 40bc6afa6bf97cb75398ec11fc7bf9cdcac839e2 Mon Sep 17 00:00:00 2001 From: Infstellar <2644641825@qq.com> Date: Sun, 23 Feb 2025 18:22:33 +0800 Subject: [PATCH] fix --- pages/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/utils.py b/pages/utils.py index 38165e3..5bfc84d 100644 --- a/pages/utils.py +++ b/pages/utils.py @@ -38,6 +38,6 @@ def get_image_dirs(): item_path = os.path.join(IMAGE_DIRS_PATH, item) if os.path.isdir(item_path): dirs.append(item_path) - for i in Config().paths.image_dirs.keys(): - dirs.append(i) + for i in Config().paths.image_dirs.values(): + dirs.append(i['path']) return dirs \ No newline at end of file