From 70e8a0de27adef43f50206e44421fbe703f9ff3a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 14 Nov 2021 04:28:08 +0200 Subject: [PATCH] fsdfds --- files/routes/front.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/routes/front.py b/files/routes/front.py index bb4ad40e2..e47a8157a 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -74,7 +74,8 @@ def notifications(v): x.read = True g.db.add(x) i += 1 - + g.db.commit() + if not posts: listing = [] for c in comments: