From 08471bd35d4ed13ba8858d87724b8494e2492269 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 4 Apr 2022 20:59:14 +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 8f4aec61dd..25691ab7f8 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -38,7 +38,6 @@ def unread(v): @app.get("/notifications") @auth_required def notifications(v): - sex = time.time() t = time.time() try: page = int(request.values.get('page', 1)) except: page = 1 @@ -91,7 +90,7 @@ def notifications(v): next_exists = (len(notifications) > len(listing)) else: - print("1: " + str(time.time()-t)) + print("1: " + str(time.time()-sex)) t = time.time() sq = g.db.query(Comment.id, Notification.created_utc).join(Notification, Notification.comment_id == Comment.id).distinct(Comment.top_comment_id).filter(