修bug
This commit is contained in:
parent
ac437a0f6a
commit
30a82fb905
|
@ -102,7 +102,7 @@ if not (os.path.exists("build/topics")):
|
||||||
str(ids)+"/"+str(page_counts)+".html", topics={
|
str(ids)+"/"+str(page_counts)+".html", topics={
|
||||||
"topics": u_cfg[page_split*(page_counts-1):page_split*page_counts],
|
"topics": u_cfg[page_split*(page_counts-1):page_split*page_counts],
|
||||||
"from_forum": list(filter(lambda d: d.get('id') == ids, json_res))[0]["name"],
|
"from_forum": list(filter(lambda d: d.get('id') == ids, json_res))[0]["name"],
|
||||||
"from_url": "/home.html"
|
"from_url": "/index.html"
|
||||||
}, page={
|
}, page={
|
||||||
"now": page_counts,
|
"now": page_counts,
|
||||||
"count": math.ceil(len(strs)/page_split),
|
"count": math.ceil(len(strs)/page_split),
|
||||||
|
|
Loading…
Reference in New Issue