From bfa2b446300b915a2684d2896cb32060185e9e02 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 4 Apr 2022 03:24:48 +0200 Subject: [PATCH] fds --- files/routes/front.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/files/routes/front.py b/files/routes/front.py index 815d6d01a..8cc72b9d7 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -102,8 +102,6 @@ def notifications(v): g.db.add(c) g.db.commit() - print("1: " + str(time.time() - t), flush=True) - sq = g.db.query(Comment.id).join(Notification).distinct(Comment.top_comment_id).filter( Notification.user_id == v.id, Comment.is_banned == False, @@ -117,8 +115,6 @@ def notifications(v): next_exists = (len(comments) > 25) comments = comments[:25] - print("2: " + str(time.time() - t), flush=True) - cids = set([x[0] for x in g.db.query(Comment.id).join(Notification).filter( Notification.user_id == v.id, Comment.is_banned == False, @@ -127,12 +123,8 @@ def notifications(v): Comment.body_html.notlike('

New rdrama mention: