From 9e5d813d7721e351ac02ba72bdc473a7d77ba6b7 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 18 Jul 2015 20:04:36 +0200 Subject: Code cosmetics --- module/plugins/internal/SolveMedia.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/internal/SolveMedia.py') 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: -- cgit v1.2.3