remotes/1693045480750635534/spooky-22
Aevann1 2021-09-09 16:17:31 +02:00
parent c268a7e306
commit e1b31fe51b
1 changed files with 0 additions and 2 deletions

View File

@ -161,8 +161,6 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words='
#posts=posts.join(Submission.author)
posts=posts.filter(Submission.author.shadowbanned == False)
posts = [x for x in posts if not (x.author and x.author.shadowbanned) or (v and v.id == x.author_id)][:51]
if sort == "hot":
posts = sorted(posts.all(), key=lambda x: x.hotscore, reverse=True)
elif sort == "new":