diff --git a/deluge/ui/client.py b/deluge/ui/client.py index 486815dec..88ed5618f 100644 --- a/deluge/ui/client.py +++ b/deluge/ui/client.py @@ -95,7 +95,7 @@ class CoreProxy(gobject.GObject): callback(ret) except: pass - except (socket.error, xmlrpc.ProtocolError), e: + except (socket.error, xmlrpclib.ProtocolError), e: log.warning("Could not contact daemon: %s", e) self.set_core_uri(None) finally: