From 2686062517dbd382ee7009e38be1ea3fe3191ff9 Mon Sep 17 00:00:00 2001 From: mkaay Date: Sat, 1 May 2010 20:43:02 +0200 Subject: gui captcha fix --- module/gui/connector.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'module/gui') 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 -- cgit v1.2.3