diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-14 02:33:52 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-14 02:33:52 +0200 |
commit | 0aa95087ea8f8788499c0beaa12f39642fd204ab (patch) | |
tree | 32f51acc8a3eb447862b2bedd4a6f0d2cddb134d /module/CaptchaManager.py | |
parent | [Locale] templates updated (diff) | |
download | pyload-0aa95087ea8f8788499c0beaa12f39642fd204ab.tar.xz |
Fix class definition
Diffstat (limited to 'module/CaptchaManager.py')
-rw-r--r-- | module/CaptchaManager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/CaptchaManager.py b/module/CaptchaManager.py index 893af3068..0ba876ae8 100644 --- a/module/CaptchaManager.py +++ b/module/CaptchaManager.py @@ -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 @@ -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 |