summaryrefslogtreecommitdiffstats
path: root/module/Api.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-18 20:23:24 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-18 20:23:24 +0200
commita0ba8a0488198711ce75ac4b3be5a46a784eb686 (patch)
tree7398b8f52fa1ded9d3148226ed1278d7328918dd /module/Api.py
parentrepaired cnl (diff)
downloadpyload-a0ba8a0488198711ce75ac4b3be5a46a784eb686.tar.xz
fixed captcha on webif + configparser
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