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/CatShareNet.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'module/plugins/accounts/CatShareNet.py') diff --git a/module/plugins/accounts/CatShareNet.py b/module/plugins/accounts/CatShareNet.py index 1a7355095..da0eec4f0 100644 --- a/module/plugins/accounts/CatShareNet.py +++ b/module/plugins/accounts/CatShareNet.py @@ -26,7 +26,7 @@ class CatShareNet(Account): validuntil = -1 trafficleft = -1 - html = self.load("http://catshare.net/", req=req) + html = self.load("http://catshare.net/") if re.search(self.PREMIUM_PATTERN, html): premium = True @@ -54,8 +54,7 @@ class CatShareNet(Account): post={'user_email' : user, 'user_password' : data['password'], 'remindPassword': 0, - 'user[submit]' : "Login"}, - req=req) + 'user[submit]' : "Login"}) if not 'Wyloguj' in html: self.wrong_password() -- cgit v1.2.3