From a0ba8a0488198711ce75ac4b3be5a46a784eb686 Mon Sep 17 00:00:00 2001
From: RaNaN <Mast3rRaNaN@hotmail.de>
Date: Mon, 18 Jul 2011 20:23:24 +0200
Subject: fixed captcha on webif + configparser

---
 module/Api.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'module/Api.py')

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
-- 
cgit v1.2.3