diff options
author | VMiklos <vmiklos@frugalware.org> | 2007-08-22 00:52:53 +0200 |
---|---|---|
committer | VMiklos <vmiklos@frugalware.org> | 2007-08-22 00:52:53 +0200 |
commit | 43e2e9d61306e93c8435de5bba6a631a942645cd (patch) | |
tree | 4419aa079068bb2df294c3d1c4e797f5d468458f | |
parent | 8237df502bc3559c4828708e933bb5e5b9632aa9 (diff) |
skyped: fix a warning
-rw-r--r-- | skype/skyped.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/skype/skyped.py b/skype/skyped.py index 6cf542e0..1a2d3c25 100644 --- a/skype/skyped.py +++ b/skype/skyped.py @@ -111,7 +111,10 @@ class SkypeApi(dbus.service.Object): except dbus.exceptions.DBusException, s: reply = str(s) if(reply.startswith("org.freedesktop.DBus.Error.ServiceUnknown")): - self.remove_from_connection(dbus.SessionBus(), "/com/Skype/Client") + try: + self.remove_from_connection(dbus.SessionBus(), "/com/Skype/Client") + except LookupError: + pass mainloop.quit() dprint('<< ' + reply) return reply |