summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/MegasharesCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 15:29:48 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 15:29:48 +0200
commit1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 (patch)
tree820ddb376ea97d4cf3aa53ef0f4dfb4ebfa4a0d5 /module/plugins/accounts/MegasharesCom.py
parentSpare fixes and code cosmetics (diff)
downloadpyload-1f5a55ae2133a782bdcca334ecbcdbde50dbcf99.tar.xz
No more need to use the req argument when call load method
Diffstat (limited to 'module/plugins/accounts/MegasharesCom.py')
-rw-r--r--module/plugins/accounts/MegasharesCom.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/accounts/MegasharesCom.py b/module/plugins/accounts/MegasharesCom.py
index d68002783..c91782a5f 100644
--- a/module/plugins/accounts/MegasharesCom.py
+++ b/module/plugins/accounts/MegasharesCom.py
@@ -21,7 +21,7 @@ class MegasharesCom(Account):
def load_account_info(self, user, req):
# self.relogin(user)
- html = self.load("http://d01.megashares.com/myms.php", req=req)
+ html = self.load("http://d01.megashares.com/myms.php")
premium = False if '>Premium Upgrade<' in html else True
@@ -41,8 +41,7 @@ class MegasharesCom(Account):
post={"httpref" : "",
"myms_login" : "Login",
"mymslogin_name": user,
- "mymspassword" : data['password']},
- req=req)
+ "mymspassword" : data['password']})
if not '<span class="b ml">%s</span>' % user in html:
self.wrong_password()