summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Captcha.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-01-02 16:08:05 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-01-02 16:08:05 +0100
commit0111917437cd9b20f0c24d8f9f2e8680349235d6 (patch)
treee4d398c7ae541a314bf1a4ddcb88b40dd1c18f1c /module/plugins/internal/Captcha.py
parentSpare code cosmetics (diff)
downloadpyload-0111917437cd9b20f0c24d8f9f2e8680349235d6.tar.xz
Spare code cosmetics (2)
Diffstat (limited to 'module/plugins/internal/Captcha.py')
-rw-r--r--module/plugins/internal/Captcha.py5
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