From 1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 17 Jul 2015 15:29:48 +0200 Subject: No more need to use the req argument when call load method --- module/plugins/accounts/RapidgatorNet.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'module/plugins/accounts/RapidgatorNet.py') 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) -- cgit v1.2.3