diff options
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() |