summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/SolveMedia.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-18 20:04:36 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-18 20:04:36 +0200
commit9e5d813d7721e351ac02ba72bdc473a7d77ba6b7 (patch)
tree1a5167cea6492283bfb679c4efdb4c13534d844f /module/plugins/internal/SolveMedia.py
parentReorder some functions (diff)
downloadpyload-9e5d813d7721e351ac02ba72bdc473a7d77ba6b7.tar.xz
Code cosmetics
Diffstat (limited to 'module/plugins/internal/SolveMedia.py')
-rw-r--r--module/plugins/internal/SolveMedia.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/SolveMedia.py b/module/plugins/internal/SolveMedia.py
index 927d4e536..87537470f 100644
--- a/module/plugins/internal/SolveMedia.py
+++ b/module/plugins/internal/SolveMedia.py
@@ -28,7 +28,7 @@ class SolveMedia(Captcha):
self.log_debug("Key: %s" % self.key)
return self.key
else:
- self.log_warning("Key pattern not found")
+ self.log_warning(_("Key pattern not found")
return None
@@ -43,7 +43,7 @@ class SolveMedia(Captcha):
magic = re.search(r'name="magic" value="(.+?)"', html).group(1)
except AttributeError:
- self.log_warning("Magic pattern not found")
+ self.log_warning(_("Magic pattern not found")
magic = None
try:
@@ -81,7 +81,7 @@ class SolveMedia(Captcha):
else:
if "error" in html:
- self.log_warning("Captcha code was invalid")
+ self.log_warning(_("Captcha code was invalid"))
self.log_debug("Retry #%d" % i)
html = self.plugin.load(redirect)
else: