summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/RapidgatorNet.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 15:29:48 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 15:29:48 +0200
commit1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 (patch)
tree820ddb376ea97d4cf3aa53ef0f4dfb4ebfa4a0d5 /module/plugins/accounts/RapidgatorNet.py
parentSpare fixes and code cosmetics (diff)
downloadpyload-1f5a55ae2133a782bdcca334ecbcdbde50dbcf99.tar.xz
No more need to use the req argument when call load method
Diffstat (limited to 'module/plugins/accounts/RapidgatorNet.py')
-rw-r--r--module/plugins/accounts/RapidgatorNet.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/accounts/RapidgatorNet.py b/module/plugins/accounts/RapidgatorNet.py
index 098122aea..7732925b7 100644
--- a/module/plugins/accounts/RapidgatorNet.py
+++ b/module/plugins/accounts/RapidgatorNet.py
@@ -30,8 +30,7 @@ class RapidgatorNet(Account):
assert sid
html = self.load(urlparse.urljoin(self.API_URL, "info"),
- get={'sid': sid},
- req=req)
+ get={'sid': sid})
self.log_debug("API:USERINFO", html)
@@ -60,8 +59,7 @@ class RapidgatorNet(Account):
try:
html = self.load(urlparse.urljoin(self.API_URL, "login"),
post={"username": user,
- "password": data['password']},
- req=req)
+ "password": data['password']})
self.log_debug("API:LOGIN", html)