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/OneFichierCom.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'module/plugins/accounts/OneFichierCom.py') diff --git a/module/plugins/accounts/OneFichierCom.py b/module/plugins/accounts/OneFichierCom.py index 62ff3e099..ef9274353 100644 --- a/module/plugins/accounts/OneFichierCom.py +++ b/module/plugins/accounts/OneFichierCom.py @@ -26,7 +26,7 @@ class OneFichierCom(Account): trafficleft = -1 premium = None - html = self.load("https://1fichier.com/console/abo.pl", req=req) + html = self.load("https://1fichier.com/console/abo.pl") m = re.search(self.VALID_UNTIL_PATTERN, html) if m: @@ -51,8 +51,7 @@ class OneFichierCom(Account): 'pass' : data['password'], 'It' : "on", 'purge' : "off", - 'valider': "Send"}, - req=req) + 'valider': "Send"}) if '>Invalid email address' in html or '>Invalid password' in html: self.wrong_password() -- cgit v1.2.3