Fixed a bug
This commit is contained in:
parent
ffc4c802cb
commit
8a5b86173e
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ def archive(page):
|
||||||
if page != 1 and not threads:
|
if page != 1 and not threads:
|
||||||
abort(404)
|
abort(404)
|
||||||
return render_template('mailinglist/archive.html',
|
return render_template('mailinglist/archive.html',
|
||||||
page_count=int(ceil(threads /
|
page_count=int(ceil(len(all_threads) /
|
||||||
float(config.THREADS_PER_PAGE))),
|
float(config.THREADS_PER_PAGE))),
|
||||||
page=page, threads=threads)
|
page=page, threads=threads)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue