summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/BitshareCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 10:59:52 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 10:59:52 +0200
commitff9383bfe06d14d23bc0ed6af79aa8967965d078 (patch)
tree78a09f0c47eb392d6ca3c8bf948dc9a99709861b /module/plugins/accounts/BitshareCom.py
parentFix addons (diff)
downloadpyload-ff9383bfe06d14d23bc0ed6af79aa8967965d078.tar.xz
Code cosmetics (3)
Diffstat (limited to 'module/plugins/accounts/BitshareCom.py')
-rw-r--r--module/plugins/accounts/BitshareCom.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/accounts/BitshareCom.py b/module/plugins/accounts/BitshareCom.py
index c47ec9d77..61ba4f0b0 100644
--- a/module/plugins/accounts/BitshareCom.py
+++ b/module/plugins/accounts/BitshareCom.py
@@ -17,19 +17,19 @@ class BitshareCom(Account):
html = self.load("http://bitshare.com/mysettings.html")
if "\"http://bitshare.com/myupgrade.html\">Free" in html:
- return {"validuntil": -1, "trafficleft": -1, "premium": False}
+ return {'validuntil': -1, 'trafficleft': -1, 'premium': False}
if not '<input type="checkbox" name="directdownload" checked="checked" />' in html:
self.log_warning(_("Activate direct Download in your Bitshare Account"))
- return {"validuntil": -1, "trafficleft": -1, "premium": True}
+ return {'validuntil': -1, 'trafficleft': -1, 'premium': True}
def login(self, user, data, req):
html = self.load("https://bitshare.com/login.html",
- post={"user" : user,
- "password": data['password'],
- "submit" : "Login"})
+ post={'user' : user,
+ 'password': data['password'],
+ 'submit' : "Login"})
if "login" in req.lastEffectiveURL:
self.wrong_password()