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.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/accounts/MegasharesCom.py b/module/plugins/accounts/MegasharesCom.py
index c91782a5f..62bf71877 100644
--- a/module/plugins/accounts/MegasharesCom.py
+++ b/module/plugins/accounts/MegasharesCom.py
@@ -33,15 +33,15 @@ class MegasharesCom(Account):
except Exception, e:
self.log_error(e)
- return {"validuntil": validuntil, "trafficleft": -1, "premium": premium}
+ return {'validuntil': validuntil, 'trafficleft': -1, 'premium': premium}
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']})
+ post={'httpref' : "",
+ 'myms_login' : "Login",
+ 'mymslogin_name': user,
+ 'mymspassword' : data['password']})
if not '<span class="b ml">%s</span>' % user in html:
self.wrong_password()