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

fix call to notify_another_way

parent cd21d4a6
No related branches found
No related tags found
No related merge requests found
......@@ -630,8 +630,8 @@ class DesktopNotification:
dbus.UInt32(timeout*1000),
reply_handler=self.attach_by_id,
error_handler=self.notify_another_way)
except Exception:
self.notify_another_way()
except Exception, e:
self.notify_another_way(e)
else:
try:
self.notif.Notify(
......@@ -645,8 +645,8 @@ class DesktopNotification:
dbus.UInt32(timeout*1000),
reply_handler=self.attach_by_id,
error_handler=self.notify_another_way)
except Exception:
self.notify_another_way()
except Exception, e:
self.notify_another_way(e)
def attach_by_id(self, id_):
self.id = id_
......
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