From fc8fc2267d6d4c3ed48e152304b6d27df787e680 Mon Sep 17 00:00:00 2001 From: Nitzo Date: Tue, 1 Mar 2016 02:00:12 +0200 Subject: [ReCaptcha] Update --- module/plugins/captcha/ReCaptcha.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/plugins/captcha/ReCaptcha.py b/module/plugins/captcha/ReCaptcha.py index 38ff09394..071f7f8b0 100644 --- a/module/plugins/captcha/ReCaptcha.py +++ b/module/plugins/captcha/ReCaptcha.py @@ -29,7 +29,7 @@ except ImportError: class ReCaptcha(CaptchaService): __name__ = 'ReCaptcha' __type__ = 'captcha' - __version__ = '0.25' + __version__ = '0.26' __status__ = 'testing' __description__ = 'ReCaptcha captcha service plugin' @@ -254,7 +254,7 @@ class ReCaptcha(CaptchaService): except (AttributeError, IndexError): self.fail(_("ReCaptcha challenge message not found")) - challenge_msg = re.sub(r'', "", challenge_msg, 0 , re.I) + challenge_msg = re.sub(r'', "", challenge_msg) image_url = urlparse.urljoin('http://www.google.com', re.search(r'"(/recaptcha/api2/payload[^"]+)', html).group(1)) -- cgit v1.2.3