summaryrefslogtreecommitdiffstats
path: root/module/CaptchaManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-03-08 22:15:45 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-03-08 22:15:45 +0100
commit88372d98619cb601cc41dfb226c71f9751b20d51 (patch)
tree3187b89c0e8b39bb511f9015f994f37f47d2bc6d /module/CaptchaManager.py
parentYoutube fix, thrift java fix (diff)
downloadpyload-88372d98619cb601cc41dfb226c71f9751b20d51.tar.xz
captcha manager fix, toggle reconnect
Diffstat (limited to 'module/CaptchaManager.py')
-rw-r--r--module/CaptchaManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/CaptchaManager.py b/module/CaptchaManager.py
index 0d7b04e69..7672aa645 100644
--- a/module/CaptchaManager.py
+++ b/module/CaptchaManager.py
@@ -52,7 +52,7 @@ class CaptchaManager():
def getTaskByID(self, tid):
self.lock.acquire()
for task in self.tasks:
- if task.id == tid:
+ if task.id == str(tid): #task ids are strings
self.lock.release()
return task
self.lock.release()