prevent traceback when notification daemon doesn't support GetCapabilities. Fixed #5015
This commit is contained in:
parent
c48f4c409f
commit
b2e0e4cc86
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue