summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/BitshareCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/BitshareCom.py')
-rw-r--r--module/plugins/accounts/BitshareCom.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/module/plugins/accounts/BitshareCom.py b/module/plugins/accounts/BitshareCom.py
index afbed2920..8f748b9e9 100644
--- a/module/plugins/accounts/BitshareCom.py
+++ b/module/plugins/accounts/BitshareCom.py
@@ -14,7 +14,7 @@ class BitshareCom(Account):
def loadAccountInfo(self, user, req):
- html = req.load("http://bitshare.com/mysettings.html")
+ html = self.load("http://bitshare.com/mysettings.html", req=req)
if "\"http://bitshare.com/myupgrade.html\">Free" in html:
return {"validuntil": -1, "trafficleft": -1, "premium": False}
@@ -26,9 +26,8 @@ class BitshareCom(Account):
def login(self, user, data, req):
- html = req.load("https://bitshare.com/login.html",
- post={"user": user, "password": data['password'], "submit": "Login"},
- decode=True)
+ html = self.load("https://bitshare.com/login.html",
+ post={"user": user, "password": data['password'], "submit": "Login"}, req=req)
if "login" in req.lastEffectiveURL:
self.wrongPassword()