From 5deded62d94c04be64d34f6b67d07803eea9b6bf Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 20 Dec 2015 18:43:15 +0100 Subject: Spare code cosmetics --- module/plugins/hoster/BitshareCom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster/BitshareCom.py') diff --git a/module/plugins/hoster/BitshareCom.py b/module/plugins/hoster/BitshareCom.py index 9562e0724..951920444 100644 --- a/module/plugins/hoster/BitshareCom.py +++ b/module/plugins/hoster/BitshareCom.py @@ -116,9 +116,9 @@ class BitshareCom(SimpleHoster): #: Resolve captcha if captcha is 1: self.log_debug("File is captcha protected") - recaptcha = ReCaptcha(self.pyfile) + self.captcha = ReCaptcha(self.pyfile) - response, challenge = recaptcha.challenge() + response, challenge = self.captcha.challenge() res = self.load("http://bitshare.com/files-ajax/" + self.file_id + "/request.html", post={'request' : "validateCaptcha", 'ajaxid' : self.ajaxid, -- cgit v1.2.3