diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2009-05-18 18:17:14 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2009-05-18 18:17:14 +0400 |
commit | b2e0e4cc862e1d1d2f1b2db82990a6fd1800a643 (patch) | |
tree | 414a2f9403a48103bedfdf787ed7e5ce2948600b | |
parent | c48f4c409f0b7681cb7734ba90d9e2675db7d44a (diff) |
prevent traceback when notification daemon doesn't support GetCapabilities. Fixed #5015
-rw-r--r-- | src/notify.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/notify.py b/src/notify.py index 66fcfc4ac..b0675057f 100644 --- a/src/notify.py +++ b/src/notify.py @@ -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): |