summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index d045581b5..6df4816db 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -764,13 +764,13 @@ class ServerMethods():
def get_task_status(self, tid):
self.core.lastClientConnected = time()
- t = self.core.captchaManager.getTaskFromID(tid)
+ t = self.core.captchaManager.getTaskByID(tid)
if t:
return t.getStatus()
def set_captcha_result(self, tid, result):
self.core.lastClientConnected = time()
- task = self.core.captchaManager.getTaskFromID(tid)
+ task = self.core.captchaManager.getTaskByID(tid)
if task:
task.setResult(result)
self.core.captchaManager.removeTask(task)