summaryrefslogtreecommitdiffstats
path: root/module/CaptchaManager.py
diff options
context:
space:
mode:
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()