From 59b0e3b9c602722fe3c97443daf1e9be74ff4007 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 7 Nov 2021 15:58:32 +0200 Subject: [PATCH] fdsfds --- 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 c87992771c..befd93e533 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -34,7 +34,7 @@ def notifications(v): for index, x in enumerate(notifications[:100]): c = x.comment - if x.read and index > 25: break + if x.read and index > 24: break elif not x.read: x.read = True c.unread = True @@ -52,7 +52,7 @@ def notifications(v): for index, x in enumerate(notifications[:100]): c = x.comment - if x.read and index > 25: break + if x.read and index > 24: break elif not x.read: x.read = True g.db.add(x)