summaryrefslogtreecommitdiffstats
path: root/module/CaptchaManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/CaptchaManager.py')
-rw-r--r--module/CaptchaManager.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/CaptchaManager.py b/module/CaptchaManager.py
index 02cd10a11..0ba876ae8 100644
--- a/module/CaptchaManager.py
+++ b/module/CaptchaManager.py
@@ -13,7 +13,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.
-
+
@author: mkaay, RaNaN
"""
@@ -21,7 +21,7 @@ from time import time
from traceback import print_exc
from threading import Lock
-class CaptchaManager():
+class CaptchaManager:
def __init__(self, core):
self.lock = Lock()
self.core = core
@@ -70,7 +70,7 @@ class CaptchaManager():
except:
if self.core.debug:
print_exc()
-
+
if task.handler or cli: #the captcha was handled
self.tasks.append(task)
return True
@@ -80,7 +80,7 @@ class CaptchaManager():
return False
-class CaptchaTask():
+class CaptchaTask:
def __init__(self, id, img, format, file, result_type='textual'):
self.id = str(id)
self.captchaImg = img