From 5ccc850521873fd67687173694abf372086e9d05 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 1 Mar 2022 02:12:39 +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 7dfe4353a9..91f96f57f3 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -61,7 +61,7 @@ def notifications(v): x.read = True c.unread = True g.db.add(x) - if not c.created_utc: c.notif_utc = x.notif_utc + if not c.created_utc: c.notif_utc = x.created_utc listing.append(c) g.db.commit() @@ -85,7 +85,7 @@ def notifications(v): try: c = comments[i] except: continue if not x.read: c.unread = True - if not c.created_utc: c.notif_utc = x.notif_utc + if not c.created_utc: c.notif_utc = x.created_utc x.read = True g.db.add(x) i += 1