diff --git a/files/routes/front.py b/files/routes/front.py index 360efb41d2..46e8b6ef9c 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -89,19 +89,12 @@ def notifications(v): next_exists = (len(notifications) > len(listing)) else: - all = [x.comment_id for x in v.notifications.join(Notification.comment).filter( + notifications = v.notifications.join(Notification.comment).filter( Comment.is_banned == False, Comment.deleted_utc == 0, Comment.author_id != AUTOJANNY_ID, Comment.body_html.notlike('