summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/TurbobitNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/TurbobitNet.py')
-rw-r--r--module/plugins/hoster/TurbobitNet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/TurbobitNet.py b/module/plugins/hoster/TurbobitNet.py
index 2cf9a80ad..724ac0916 100644
--- a/module/plugins/hoster/TurbobitNet.py
+++ b/module/plugins/hoster/TurbobitNet.py
@@ -79,8 +79,8 @@ class TurbobitNet(SimpleHoster):
self.log_debug(inputs)
if inputs['captcha_type'] == "recaptcha":
- recaptcha = ReCaptcha(self.pyfile)
- inputs['recaptcha_response_field'], inputs['recaptcha_challenge_field'] = recaptcha.challenge()
+ self.captcha = ReCaptcha(self.pyfile)
+ inputs['recaptcha_response_field'], inputs['recaptcha_challenge_field'] = self.captcha.challenge()
else:
m = re.search(self.CAPTCHA_PATTERN, self.data)
if m is None: