build a list
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user