Error when rendering notifications; bumped version to 8.7

IssueID #123
This commit is contained in:
Jaakko Keränen 2024-04-18 17:27:56 +03:00
parent f07c6b6b34
commit f2d742a557
No known key found for this signature in database
GPG Key ID: BACCFCFB98DB2EDC
2 changed files with 6 additions and 2 deletions

View File

@ -18,7 +18,7 @@ from utils import *
from worker import *
__version__ = '8.6'
__version__ = '8.7'
class Bubble:

View File

@ -348,7 +348,11 @@ class Subgrouping:
src.append('')
# Print the notifications.
for notif in notifs:
src.append('=> %s %s' % notif.entry(with_title=not top_head))
try:
src.append('=> %s %s' % notif.entry(with_title=not top_head))
except:
# FIXME: notif.reaction can be None sometimes? A cancelled notification?
pass
return '\n'.join(src) + '\n'