summaryrefslogtreecommitdiffstats
path: root/module/gui/connector.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-05-01 20:43:02 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-05-01 20:43:02 +0200
commit2686062517dbd382ee7009e38be1ea3fe3191ff9 (patch)
tree6ed56a64df23fb6d8a1828c31adc704c49f29574 /module/gui/connector.py
parentupdated captcha manager (diff)
downloadpyload-2686062517dbd382ee7009e38be1ea3fe3191ff9.tar.xz
gui captcha fix
Diffstat (limited to 'module/gui/connector.py')
-rw-r--r--module/gui/connector.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/module/gui/connector.py b/module/gui/connector.py
index b3855fa77..fba133cc5 100644
--- a/module/gui/connector.py
+++ b/module/gui/connector.py
@@ -428,6 +428,18 @@ class connector(QThread):
finally:
self.mutex.unlock()
+ def getCaptchaStatus(self, cid):
+ """
+ get captcha status
+ """
+ self.mutex.lock()
+ try:
+ return self.proxy.get_task_status(cid)
+ except Exception, e:
+ self.emit(SIGNAL("proxy_error"), "getCaptchaStatus", e)
+ finally:
+ self.mutex.unlock()
+
def getEvents(self):
"""
get events