From 64da0245116e9e0a0369859c6e5e8c549372996d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 25 Sep 2021 03:45:35 +0200 Subject: [PATCH] fds --- files/routes/front.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/routes/front.py b/files/routes/front.py index d0ea9b5c5..161c4d146 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -172,10 +172,9 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words=' cutoff = now - 2592000 elif t == 'year': cutoff = now - 31536000 + print(posts.all()) posts = posts.filter(Submission.created_utc >= cutoff) - print(posts.all()) - posts = posts.filter_by(is_banned=False, stickied=None, private=False, deleted_utc = 0) if v: