summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/RapidgatorNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/RapidgatorNet.py')
-rw-r--r--module/plugins/accounts/RapidgatorNet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/RapidgatorNet.py b/module/plugins/accounts/RapidgatorNet.py
index 94692da76..c14490dd5 100644
--- a/module/plugins/accounts/RapidgatorNet.py
+++ b/module/plugins/accounts/RapidgatorNet.py
@@ -27,7 +27,7 @@ class RapidgatorNet(Account):
sid = self.getAccountData(user).get('sid', None)
assert sid
- html = req.load("%s/info" % self.API_URL, get={'sid': sid})
+ html = self.load("%s/info" % self.API_URL, get={'sid': sid}, req=req)
self.logDebug("API:USERINFO", html)
@@ -54,7 +54,7 @@ class RapidgatorNet(Account):
def login(self, user, data, req):
try:
- html = req.load('%s/login' % self.API_URL, post={"username": user, "password": data['password']})
+ html = self.load('%s/login' % self.API_URL, post={"username": user, "password": data['password']}, req=req)
self.logDebug("API:LOGIN", html)