diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-19 10:59:52 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-19 10:59:52 +0200 |
commit | ff9383bfe06d14d23bc0ed6af79aa8967965d078 (patch) | |
tree | 78a09f0c47eb392d6ca3c8bf948dc9a99709861b /module/plugins/hooks/CaptchaBrotherhood.py | |
parent | Fix addons (diff) | |
download | pyload-ff9383bfe06d14d23bc0ed6af79aa8967965d078.tar.xz |
Code cosmetics (3)
Diffstat (limited to 'module/plugins/hooks/CaptchaBrotherhood.py')
-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 1265fc0ae..1660e2059 100644 --- a/module/plugins/hooks/CaptchaBrotherhood.py +++ b/module/plugins/hooks/CaptchaBrotherhood.py @@ -55,7 +55,7 @@ class CaptchaBrotherhood(Hook): def get_credits(self): res = self.load(self.API_URL + "askCredits.aspx", - get={"username": self.get_config('username'), "password": self.get_config('password')}) + get={'username': self.get_config('username'), 'password': self.get_config('password')}) if not res.startswith("OK"): raise CaptchaBrotherhoodException(res) else: @@ -118,9 +118,9 @@ class CaptchaBrotherhood(Hook): def api_response(self, api, ticket): res = self.load("%s%s.aspx" % (self.API_URL, api), - get={"username": self.get_config('username'), - "password": self.get_config('password'), - "captchaID": ticket}) + get={'username': self.get_config('username'), + 'password': self.get_config('password'), + 'captchaID': ticket}) if not res.startswith("OK"): raise CaptchaBrotherhoodException("Unknown response: %s" % res) |