summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/CatShareNet.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 15:29:48 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 15:29:48 +0200
commit1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 (patch)
tree820ddb376ea97d4cf3aa53ef0f4dfb4ebfa4a0d5 /module/plugins/accounts/CatShareNet.py
parentSpare fixes and code cosmetics (diff)
downloadpyload-1f5a55ae2133a782bdcca334ecbcdbde50dbcf99.tar.xz
No more need to use the req argument when call load method
Diffstat (limited to 'module/plugins/accounts/CatShareNet.py')
-rw-r--r--module/plugins/accounts/CatShareNet.py5
1 files changed, 2 insertions, 3 deletions
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 '<a href="/logout">Wyloguj</a>' in html:
self.wrong_password()