diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-31 00:05:39 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-31 00:05:39 +0100 |
commit | be51f9235eb555be07b9d5cc0a34c73b75ac0cfe (patch) | |
tree | 6c784133c1af5caf959ef13ef8e43c4f12dfd003 /module/plugins/hooks | |
parent | [SimpleHoster] Clean lastDownload when download fails (diff) | |
download | pyload-be51f9235eb555be07b9d5cc0a34c73b75ac0cfe.tar.xz |
Handle methods get pyfile argument
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r-- | module/plugins/hooks/CaptchaBrotherhood.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hooks/CaptchaBrotherhood.py b/module/plugins/hooks/CaptchaBrotherhood.py index b6e38d8bb..6d4127871 100644 --- a/module/plugins/hooks/CaptchaBrotherhood.py +++ b/module/plugins/hooks/CaptchaBrotherhood.py @@ -94,10 +94,10 @@ class CaptchaBrotherhood(Hook): req = getRequest() url = "%ssendNewCaptcha.aspx?%s" % (self.API_URL, - urlencode({"username": self.getConfig("username"), - "password": self.getConfig("passkey"), - "captchaSource": "pyLoad", - "timeout": "80"})) + urlencode({'username' : self.getConfig("username"), + 'password' : self.getConfig("passkey"), + 'captchaSource': "pyLoad", + 'timeout' : "80"})) req.c.setopt(pycurl.URL, url) req.c.setopt(pycurl.POST, 1) |