summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/UploadableCh.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/UploadableCh.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/UploadableCh.py')
-rw-r--r--module/plugins/accounts/UploadableCh.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/accounts/UploadableCh.py b/module/plugins/accounts/UploadableCh.py
index 0fce8eeac..c2b503052 100644
--- a/module/plugins/accounts/UploadableCh.py
+++ b/module/plugins/accounts/UploadableCh.py
@@ -14,7 +14,7 @@ class UploadableCh(Account):
def load_account_info(self, user, req):
- html = self.load("http://www.uploadable.ch/login.php", req=req)
+ html = self.load("http://www.uploadable.ch/login.php")
premium = '<a href="/logout.php"' in html
trafficleft = -1 if premium else None
@@ -27,8 +27,7 @@ class UploadableCh(Account):
post={'userName' : user,
'userPassword' : data['password'],
'autoLogin' : "1",
- 'action__login': "normalLogin"},
- req=req)
+ 'action__login': "normalLogin"})
if "Login failed" in html:
self.wrong_password()