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/MegaRapidCz.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'module/plugins/accounts/MegaRapidCz.py') diff --git a/module/plugins/accounts/MegaRapidCz.py b/module/plugins/accounts/MegaRapidCz.py index d2f6cfaf7..b95a832e6 100644 --- a/module/plugins/accounts/MegaRapidCz.py +++ b/module/plugins/accounts/MegaRapidCz.py @@ -25,7 +25,7 @@ class MegaRapidCz(Account): def load_account_info(self, user, req): - htmll = self.load("http://megarapid.cz/mujucet/", req=req) + htmll = self.load("http://megarapid.cz/mujucet/") m = re.search(self.LIMITDL_PATTERN, htmll) if m: @@ -46,7 +46,7 @@ class MegaRapidCz(Account): def login(self, user, data, req): - html = self.load("http://megarapid.cz/prihlaseni/", req=req) + html = self.load("http://megarapid.cz/prihlaseni/") if "Heslo:" in html: start = html.index('id="inp_hash" name="hash" value="') @@ -57,5 +57,4 @@ class MegaRapidCz(Account): "login" : user, "pass1" : data['password'], "remember": 1, - "sbmt" : u"Přihlásit"}, - req=req) + "sbmt" : u"Přihlásit"}) -- cgit v1.2.3