Skip to content
Snippets Groups Projects
Commit b2e0e4cc authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

prevent traceback when notification daemon doesn't support GetCapabilities. Fixed #5015

parent c48f4c40
No related branches found
No related tags found
No related merge requests found
......@@ -544,6 +544,8 @@ class DesktopNotification:
self.attempt_notify()
else:
self.capabilities = self.notif.GetCapabilities()
if self.capabilities is None:
self.capabilities = ['actions']
self.get_version()
def attempt_notify(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment