summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/ShareonlineBiz.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/ShareonlineBiz.py')
-rw-r--r--module/plugins/hoster/ShareonlineBiz.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/ShareonlineBiz.py b/module/plugins/hoster/ShareonlineBiz.py
index 72402a2af..6205d6950 100644
--- a/module/plugins/hoster/ShareonlineBiz.py
+++ b/module/plugins/hoster/ShareonlineBiz.py
@@ -68,8 +68,8 @@ class ShareonlineBiz(SimpleHoster):
def handle_captcha(self):
- recaptcha = ReCaptcha(self.pyfile)
- response, challenge = recaptcha.challenge(self.RECAPTCHA_KEY)
+ self.captcha = ReCaptcha(self.pyfile)
+ response, challenge = self.captcha.challenge(self.RECAPTCHA_KEY)
m = re.search(r'var wait=(\d+);', self.data)
self.set_wait(int(m.group(1)) if m else 30)