summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/YibaishiwuCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 03:03:26 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 03:03:26 +0200
commitd2e2b127651a5a44b56337eb6d9ca246c97a208a (patch)
tree46f34e2102fd44ed2f719727eb07a445e7baa77d /module/plugins/accounts/YibaishiwuCom.py
parentNo camelCase style anymore (diff)
downloadpyload-d2e2b127651a5a44b56337eb6d9ca246c97a208a.tar.xz
Spare fixes and code cosmetics
Diffstat (limited to 'module/plugins/accounts/YibaishiwuCom.py')
-rw-r--r--module/plugins/accounts/YibaishiwuCom.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/module/plugins/accounts/YibaishiwuCom.py b/module/plugins/accounts/YibaishiwuCom.py
index fad22b4c6..dd4e33739 100644
--- a/module/plugins/accounts/YibaishiwuCom.py
+++ b/module/plugins/accounts/YibaishiwuCom.py
@@ -30,10 +30,11 @@ class YibaishiwuCom(Account):
def login(self, user, data, req):
html = self.load("https://passport.115.com/?ac=login",
- post={"back": "http://www.115.com/",
- "goto": "http://115.com/",
- "login[account]": user,
- "login[passwd]": data['password']}, req=req)
+ post={"back" : "http://www.115.com/",
+ "goto" : "http://115.com/",
+ "login[account]": user,
+ "login[passwd]" : data['password']},
+ req=req)
if not 'var USER_PERMISSION = {' in html:
self.wrong_password()