diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-18 06:09:04 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-27 22:37:54 +0100 |
commit | 58125cc90a78b67093b8213247ea647dd67dd9ca (patch) | |
tree | 69ae964377cbd45430bb78ade3930b820e867a55 /module/plugins/hoster/ShareonlineBiz.py | |
parent | [OCR] self.image -> self.img (diff) | |
download | pyload-58125cc90a78b67093b8213247ea647dd67dd9ca.tar.xz |
Spare code fixes
Diffstat (limited to 'module/plugins/hoster/ShareonlineBiz.py')
-rw-r--r-- | module/plugins/hoster/ShareonlineBiz.py | 4 |
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) |