diff options
-rw-r--r-- | module/plugins/accounts/Keep2shareCc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/Keep2shareCc.py b/module/plugins/accounts/Keep2shareCc.py index fa0c9d2e7..22682e247 100644 --- a/module/plugins/accounts/Keep2shareCc.py +++ b/module/plugins/accounts/Keep2shareCc.py @@ -8,9 +8,9 @@ from module.plugins.Account import Account class Keep2shareCc(Account): - __name__ = "Keep2shareCC" + __name__ = "Keep2shareCc" __type__ = "account" - __version__ = "0.01" + __version__ = "0.02" __description__ = """Keep2share.cc account plugin""" __license__ = "GPLv3" @@ -63,7 +63,7 @@ class Keep2shareCc(Account): req.cj.setCookie(".keep2share.cc", "lang", "en") html = req.load("http://keep2share.cc/login.html", - post={'LoginForm[username]': user, 'LoginForm[password]': data["password"]}) + post={'LoginForm[username]': user, 'LoginForm[password]': data['password']}) if re.search(self.LOGIN_FAIL_PATTERN, html): self.wrongPassword() |