forked from rDrama/rDrama
1
0
Fork 0

fix 500 error

master
Aevann 2024-02-08 01:59:42 +02:00
parent 6e57705bb1
commit 1c5fa20cd8
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words='
if lt: posts = posts.filter(Post.created_utc < lt)
if effortposts_only:
posts = posts.filter_by(effortpost=True)
posts = posts.filter(Post.effortpost == True)
if not gt and not lt:
posts = apply_time_filter(t, posts, Post)