Revert "die"

This reverts commit 0914a20df1.
remotes/1693045480750635534/spooky-22
fireworks88 2021-09-09 23:06:47 +02:00
parent 0914a20df1
commit 7c34ae57b2
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words='
cutoff = now - 31536000
posts = posts.filter(Submission.created_utc >= cutoff)
posts = posts.filter_by(is_banned=False,stickied=False,private=False).filter(Submission.deleted_utc == 0)
posts = posts.filter_by(is_banned=False,stickied=False,private=False,deleted_utc = 0)
if v:
posts = posts.filter(or_(Submission.processing == False, Submission.author_id == v.id))