summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UploadableCh.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-20 18:43:15 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-27 22:46:01 +0100
commit5deded62d94c04be64d34f6b67d07803eea9b6bf (patch)
treea33f82a6208b3a922bf5e1883f134a1fb86a9217 /module/plugins/hoster/UploadableCh.py
parentUpdate addons (diff)
downloadpyload-5deded62d94c04be64d34f6b67d07803eea9b6bf.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/UploadableCh.py')
-rw-r--r--module/plugins/hoster/UploadableCh.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/UploadableCh.py b/module/plugins/hoster/UploadableCh.py
index 2122f7837..70ff60eda 100644
--- a/module/plugins/hoster/UploadableCh.py
+++ b/module/plugins/hoster/UploadableCh.py
@@ -44,13 +44,13 @@ class UploadableCh(SimpleHoster):
self.wait(30)
- #: Make the recaptcha appear and show it the pyload interface
+ #: Make the ReCaptcha appear and show it the pyload interface
b = self.load(pyfile.url, post={'checkDownload': "check"})
self.log_debug(b) #: Expected output: {'success': "showCaptcha"}
- recaptcha = ReCaptcha(pyfile)
+ self.captcha = ReCaptcha(pyfile)
- response, challenge = recaptcha.challenge(self.RECAPTCHA_KEY)
+ response, challenge = self.captcha.challenge(self.RECAPTCHA_KEY)
#: Submit the captcha solution
self.load("http://www.uploadable.ch/checkReCaptcha.php",