From 0516e8553608950db9f4ca13138ee1c3557ddc16 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 9 Nov 2014 22:55:25 +0100 Subject: [Keep2shareCc] Fix account __name__ --- module/plugins/accounts/Keep2shareCc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/accounts') 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() -- cgit v1.2.3