From afd9c0f41e6063f2ed0a64d315e3234e7e57ac3e Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 5 Sep 2010 12:44:38 +0200 Subject: new .pot files, internal fix --- module/gui/connector.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'module/gui/connector.py') 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 -- cgit v1.2.3