summaryrefslogtreecommitdiffstats
path: root/module/plugins/captcha/ReCaptcha.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/captcha/ReCaptcha.py')
-rw-r--r--module/plugins/captcha/ReCaptcha.py2
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):