diff options
author | 2015-07-25 09:34:18 +0200 | |
---|---|---|
committer | 2015-07-25 09:34:18 +0200 | |
commit | a95c217627a1cb651b24e69f20640df40797aff9 (patch) | |
tree | 63fcbffd55b704b461446c1724022e76373dac12 /module/plugins/captcha/ReCaptcha.py | |
parent | Account rewritten (diff) | |
download | pyload-a95c217627a1cb651b24e69f20640df40797aff9.tar.xz |
Account rewritten (2)
Diffstat (limited to 'module/plugins/captcha/ReCaptcha.py')
-rw-r--r-- | module/plugins/captcha/ReCaptcha.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/captcha/ReCaptcha.py b/module/plugins/captcha/ReCaptcha.py index 8eea606a8..6ec5e89c8 100644 --- a/module/plugins/captcha/ReCaptcha.py +++ b/module/plugins/captcha/ReCaptcha.py @@ -48,7 +48,7 @@ class ReCaptcha(CaptchaService): else: return self.challenge(key, - version=2 if re.search(self.KEY_V2_PATTERN, html or self.retrieve_data()) else 1) + version=2 if re.search(self.KEY_V2_PATTERN, data or self.retrieve_data()) else 1) def _challenge_v1(self, key): |