From 0a31664e0454bd771fb62e6067d8ea707863c26e Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 4 Apr 2022 01:56:19 +0200 Subject: [PATCH] fds --- files/routes/front.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/front.py b/files/routes/front.py index 74d0d2a1e2..2d160dedb4 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -104,11 +104,11 @@ def notifications(v): print("1: " + str(time.time() - t), flush=True) - all = g.db.query(Notification.comment_id).join(Comment, Notification.comment_id == Comment.id).filter(Comment.is_banned == False, + all = [x[0] for x in g.db.query(Notification.comment_id).join(Comment, Notification.comment_id == Comment.id).filter(Comment.is_banned == False, Comment.deleted_utc == 0, Comment.author_id != AUTOJANNY_ID, Comment.body_html.notlike('

New rdrama mention: