mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
7f67f828c6
commit
3e0255531a
10
posts.py
10
posts.py
|
@ -4036,13 +4036,11 @@ def _create_box_indexed(recent_posts_cache: {},
|
||||||
if not post_filename:
|
if not post_filename:
|
||||||
break
|
break
|
||||||
|
|
||||||
if first_post_id:
|
if first_post_id and total_posts_count == 0:
|
||||||
if first_post_id not in post_filename and \
|
if first_post_id not in post_filename:
|
||||||
total_posts_count == 0:
|
|
||||||
continue
|
continue
|
||||||
if total_posts_count == 0:
|
total_posts_count = \
|
||||||
total_posts_count = \
|
int((page_number - 1) * items_per_page)
|
||||||
int((page_number - 1) * items_per_page)
|
|
||||||
|
|
||||||
# Has this post passed through the newswire voting stage?
|
# Has this post passed through the newswire voting stage?
|
||||||
if not _passed_newswire_voting(newswire_votes_threshold,
|
if not _passed_newswire_voting(newswire_votes_threshold,
|
||||||
|
|
Loading…
Reference in New Issue