diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-17 15:29:48 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-17 15:29:48 +0200 |
commit | 1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 (patch) | |
tree | 820ddb376ea97d4cf3aa53ef0f4dfb4ebfa4a0d5 /module/plugins/accounts/OneFichierCom.py | |
parent | Spare fixes and code cosmetics (diff) | |
download | pyload-1f5a55ae2133a782bdcca334ecbcdbde50dbcf99.tar.xz |
No more need to use the req argument when call load method
Diffstat (limited to 'module/plugins/accounts/OneFichierCom.py')
-rw-r--r-- | module/plugins/accounts/OneFichierCom.py | 5 |
1 files changed, 2 insertions, 3 deletions
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() |