diff --git a/files/routes/front.py b/files/routes/front.py index 36832ea6b..28ad116e1 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -58,7 +58,8 @@ def notifications(v): i = 0 for x in notifications: - 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) i += 1