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/CzshareCom.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'module/plugins/accounts/CzshareCom.py') diff --git a/module/plugins/accounts/CzshareCom.py b/module/plugins/accounts/CzshareCom.py index 6212ffafd..4b1bb14cb 100644 --- a/module/plugins/accounts/CzshareCom.py +++ b/module/plugins/accounts/CzshareCom.py @@ -25,7 +25,7 @@ class CzshareCom(Account): validuntil = None trafficleft = None - html = self.load("http://sdilej.cz/prehled_kreditu/", req=req) + html = self.load("http://sdilej.cz/prehled_kreditu/") try: m = re.search(self.CREDIT_LEFT_PATTERN, html) @@ -47,8 +47,7 @@ class CzshareCom(Account): html = self.load('https://sdilej.cz/index.php', post={"Prihlasit" : "Prihlasit", "login-password": data['password'], - "login-name" : user}, - req=req) + "login-name" : user}) if '