summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/MegasharesCom.py
diff options
context:
space:
mode:
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()