diff options
author | 2015-07-17 03:03:26 +0200 | |
---|---|---|
committer | 2015-07-17 03:03:26 +0200 | |
commit | d2e2b127651a5a44b56337eb6d9ca246c97a208a (patch) | |
tree | 46f34e2102fd44ed2f719727eb07a445e7baa77d /module/plugins/accounts/MegasharesCom.py | |
parent | No camelCase style anymore (diff) | |
download | pyload-d2e2b127651a5a44b56337eb6d9ca246c97a208a.tar.xz |
Spare fixes and code cosmetics
Diffstat (limited to 'module/plugins/accounts/MegasharesCom.py')
-rw-r--r-- | module/plugins/accounts/MegasharesCom.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/module/plugins/accounts/MegasharesCom.py b/module/plugins/accounts/MegasharesCom.py index 3aa26692c..d68002783 100644 --- a/module/plugins/accounts/MegasharesCom.py +++ b/module/plugins/accounts/MegasharesCom.py @@ -38,10 +38,11 @@ class MegasharesCom(Account): def login(self, user, data, req): html = self.load('http://d01.megashares.com/myms_login.php', - post={"httpref" : "", - "myms_login" : "Login", - "mymslogin_name": user, - "mymspassword" : data['password']}, req=req) + post={"httpref" : "", + "myms_login" : "Login", + "mymslogin_name": user, + "mymspassword" : data['password']}, + req=req) if not '<span class="b ml">%s</span>' % user in html: self.wrong_password() |