diff options
author | 2016-01-02 16:08:05 +0100 | |
---|---|---|
committer | 2016-01-02 16:08:05 +0100 | |
commit | 0111917437cd9b20f0c24d8f9f2e8680349235d6 (patch) | |
tree | e4d398c7ae541a314bf1a4ddcb88b40dd1c18f1c /module/plugins/internal/Captcha.py | |
parent | Spare code cosmetics (diff) | |
download | pyload-0111917437cd9b20f0c24d8f9f2e8680349235d6.tar.xz |
Spare code cosmetics (2)
Diffstat (limited to 'module/plugins/internal/Captcha.py')
-rw-r--r-- | module/plugins/internal/Captcha.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/module/plugins/internal/Captcha.py b/module/plugins/internal/Captcha.py index dde92816b..8f96d3fc2 100644 --- a/module/plugins/internal/Captcha.py +++ b/module/plugins/internal/Captcha.py @@ -70,7 +70,7 @@ class Captcha(Plugin): img_f.write(img) if ocr: - self.log_warning(_("Using OCR to decrypt captcha")) + self.log_info(_("Using OCR to decrypt captcha...")) if isinstance(ocr, basestring): _OCR = self.pyload.pluginManager.loadClass("captcha", ocr) #: Rename `captcha` to `ocr` in 0.4.10 @@ -81,9 +81,6 @@ class Captcha(Plugin): if not result: self.log_warning(_("No OCR result")) - else: - self.log_warning(_("OCR was not used")) - if not result: captchaManager = self.pyload.captchaManager |