summaryrefslogtreecommitdiffstats
path: root/module/gui/connector.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/gui/connector.py')
-rw-r--r--module/gui/connector.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/gui/connector.py b/module/gui/connector.py
index 28bfaacc4..2554f4ced 100644
--- a/module/gui/connector.py
+++ b/module/gui/connector.py
@@ -50,12 +50,13 @@ class Connector(QThread):
while not hasattr(self.addr[1], "server_methods"):
sleep(1)
- self.proxy = DispatchRPC(self.mutex, self.addr[1].server_methods)
+ self.proxy = self.addr[1].server_methods
else:
self.proxy = DispatchRPC(self.mutex, ServerProxy(self.addr, allow_none=True, verbose=False))
- self.connect(self.proxy, SIGNAL("proxy_error"), self._proxyError)
- self.connect(self.proxy, SIGNAL("connectionLost"), self, SIGNAL("connectionLost"))
+ self.connect(self.proxy, SIGNAL("proxy_error"), self._proxyError)
+ self.connect(self.proxy, SIGNAL("connectionLost"), self, SIGNAL("connectionLost"))
+
try:
server_version = self.proxy.get_server_version()
self.connectionID = uuid().hex