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/RealdebridCom.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'module/plugins/accounts/RealdebridCom.py') diff --git a/module/plugins/accounts/RealdebridCom.py b/module/plugins/accounts/RealdebridCom.py index 1df84a7b0..6ec13e93f 100644 --- a/module/plugins/accounts/RealdebridCom.py +++ b/module/plugins/accounts/RealdebridCom.py @@ -19,7 +19,7 @@ class RealdebridCom(Account): if self.pin_code: return - html = self.load("https://real-debrid.com/api/account.php", req=req) + html = self.load("https://real-debrid.com/api/account.php") xml = dom.parseString(html) validuntil = float(xml.getElementsByTagName("expiration")[0].childNodes[0].nodeValue) @@ -34,8 +34,7 @@ class RealdebridCom(Account): html = self.load("https://real-debrid.com/ajax/login.php", get={"user": user, - "pass": data['password']}, - req=req) + "pass": data['password']}) if "Your login informations are incorrect" in html: self.wrong_password() -- cgit v1.2.3