summaryrefslogtreecommitdiffstats
path: root/module/Api.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/Api.py')
-rw-r--r--module/Api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/Api.py b/module/Api.py
index d36ecab33..7d4c6c66c 100644
--- a/module/Api.py
+++ b/module/Api.py
@@ -648,7 +648,7 @@ class Api(Iface):
t = CaptchaTask(int(task.id), standard_b64encode(data), type, result)
return t
else:
- return CaptchaTask()
+ return CaptchaTask(-1)
def getCaptchaTaskStatus(self, tid):
"""Get information about captcha task