summaryrefslogtreecommitdiffstats
path: root/module/gui/connector.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-05 12:44:38 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-05 12:44:38 +0200
commitafd9c0f41e6063f2ed0a64d315e3234e7e57ac3e (patch)
tree34d2212c5cb72a7e013ff91bdde0c23663940c81 /module/gui/connector.py
parentinternal core feature (diff)
downloadpyload-afd9c0f41e6063f2ed0a64d315e3234e7e57ac3e.tar.xz
new .pot files, internal fix
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