From 1c5fa20cd8a2849dfa0e0ac2cd7e78d30a0d9716 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 8 Feb 2024 01:59:42 +0200 Subject: [PATCH] fix 500 error --- files/routes/front.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/front.py b/files/routes/front.py index 64227ef74..b211ca522 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -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)