diff --git a/files/routes/front.py b/files/routes/front.py index 161c4d146..58d6b3e01 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -172,6 +172,7 @@ 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(cutoff) print(posts.all()) posts = posts.filter(Submission.created_utc >= cutoff)