summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/UploadedTo.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/UploadedTo.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/UploadedTo.py')
-rw-r--r--module/plugins/accounts/UploadedTo.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/accounts/UploadedTo.py b/module/plugins/accounts/UploadedTo.py
index 956d43a72..3d1d0bbf5 100644
--- a/module/plugins/accounts/UploadedTo.py
+++ b/module/plugins/accounts/UploadedTo.py
@@ -26,7 +26,7 @@ class UploadedTo(Account):
trafficleft = None
premium = None
- html = self.load("http://uploaded.net/me", req=req)
+ html = self.load("http://uploaded.net/me")
premium = True if re.search(self.PREMIUM_PATTERN, html) else False
@@ -66,8 +66,7 @@ class UploadedTo(Account):
html = self.load("https://uploaded.net/io/login",
post={'id': user,
'pw': data['password'],
- '_': ""},
- req=req)
+ '_': ""})
if '"err"' in html:
self.wrong_password()