diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-09 22:55:25 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-09 22:55:25 +0100 |
commit | 0516e8553608950db9f4ca13138ee1c3557ddc16 (patch) | |
tree | 8c92ede97e300fe93389858b4caa4db617a9562c | |
parent | [Keep2shareCc] Fix file name (diff) | |
download | pyload-0516e8553608950db9f4ca13138ee1c3557ddc16.tar.xz |
[Keep2shareCc] Fix account __name__
-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() |