diff options
author | 2015-07-17 03:03:26 +0200 | |
---|---|---|
committer | 2015-07-17 03:03:26 +0200 | |
commit | d2e2b127651a5a44b56337eb6d9ca246c97a208a (patch) | |
tree | 46f34e2102fd44ed2f719727eb07a445e7baa77d /module/plugins/accounts/CatShareNet.py | |
parent | No camelCase style anymore (diff) | |
download | pyload-d2e2b127651a5a44b56337eb6d9ca246c97a208a.tar.xz |
Spare fixes and code cosmetics
Diffstat (limited to 'module/plugins/accounts/CatShareNet.py')
-rw-r--r-- | module/plugins/accounts/CatShareNet.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/module/plugins/accounts/CatShareNet.py b/module/plugins/accounts/CatShareNet.py index 8eb422962..1a7355095 100644 --- a/module/plugins/accounts/CatShareNet.py +++ b/module/plugins/accounts/CatShareNet.py @@ -51,10 +51,11 @@ class CatShareNet(Account): def login(self, user, data, req): html = self.load("http://catshare.net/login", #@TODO: Revert to `https` in 0.4.10 - post={'user_email': user, - 'user_password': data['password'], - 'remindPassword': 0, - 'user[submit]': "Login"}, req=req) + post={'user_email' : user, + 'user_password' : data['password'], + 'remindPassword': 0, + 'user[submit]' : "Login"}, + req=req) if not '<a href="/logout">Wyloguj</a>' in html: self.wrong_password() |