diff --git a/files/routes/front.py b/files/routes/front.py index 28ad116e1..677e4c828 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -58,7 +58,8 @@ def notifications(v): i = 0 for x in notifications: - try: if not x.read: comments[i].unread = True + try: + if not x.read: comments[i].unread = True except: continue x.read = True g.db.add(x)