From 63aa3a052f00bd03c61906704d7ad2868e8942a5 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 10 Sep 2021 03:45:38 +0200 Subject: [PATCH] fd --- 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 5e9bc9d2c6..14dded45ae 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -31,7 +31,7 @@ def notifications(v): cids = v.notification_messages(page=page) next_exists = (len(cids) == 26) cids = cids[:25] - comments = get_comments(cids, v=v) + listing = get_comments(cids, v=v) elif posts: notifications = v.notifications.join(Notification.comment).filter(Comment.author_id == AUTOJANNY_ACCOUNT).order_by(Notification.id.desc()).offset(25 * (page - 1)).limit(26) @@ -43,7 +43,7 @@ def notifications(v): g.db.add(x) comments.append(c) next_exists = (len(comments) == 26) - comments = comments[:25] + listing = comments[:25] else: notifications = v.notifications.join(Notification.comment).filter( Comment.is_banned == False,