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/RehostTo.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'module/plugins/accounts/RehostTo.py') diff --git a/module/plugins/accounts/RehostTo.py b/module/plugins/accounts/RehostTo.py index deaf55340..fb7380d9c 100644 --- a/module/plugins/accounts/RehostTo.py +++ b/module/plugins/accounts/RehostTo.py @@ -27,8 +27,7 @@ class RehostTo(Account): html = self.load("http://rehost.to/api.php", get={'cmd' : "get_premium_credits", - 'long_ses': session}, - req=req) + 'long_ses': session}) if html.strip() == "0,0" or "ERROR" in html: self.log_debug(html) @@ -50,8 +49,7 @@ class RehostTo(Account): html = self.load("https://rehost.to/api.php", get={'cmd': "login", 'user': user, - 'pass': data['password']}, - req=req) + 'pass': data['password']}) if "ERROR" in html: self.log_debug(html) -- cgit v1.2.3