From 6d57bfdd6166c4d06d68888785578eda33cc53b1 Mon Sep 17 00:00:00 2001 From: Shuming Liu Date: Wed, 1 Apr 2026 15:19:35 +0800 Subject: [PATCH] build a list --- server/file_association.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/file_association.py b/server/file_association.py index fb5ebcd..6c24fe4 100644 --- a/server/file_association.py +++ b/server/file_association.py @@ -263,7 +263,7 @@ def build_file_associations( if 'www.21cnjy.com' in url1 and twole_files: file_path, ctime = twole_files.pop(0) result.append({ - "filename": file_path.name, + "filename": [file_path.name], "title": title1, "url": url1, "time": time1 @@ -271,7 +271,7 @@ def build_file_associations( elif 'www.zxxk.com' in url1 and zxxk_files: file_path, ctime = zxxk_files.pop(0) result.append({ - "filename": file_path.name, + "filename": [file_path.name], "title": title1, "url": url1, "time": time1 @@ -281,7 +281,7 @@ def build_file_associations( if 'www.21cnjy.com' in url2 and twole_files: file_path, ctime = twole_files.pop(0) result.append({ - "filename": file_path.name, + "filename": [file_path.name], "title": title2, "url": url2, "time": time2 @@ -289,7 +289,7 @@ def build_file_associations( elif 'www.zxxk.com' in url2 and zxxk_files: file_path, ctime = zxxk_files.pop(0) result.append({ - "filename": file_path.name, + "filename": [file_path.name], "title": title2, "url": url2, "time": time2