summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/HighWayMe.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/HighWayMe.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/HighWayMe.py')
-rw-r--r--module/plugins/accounts/HighWayMe.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/accounts/HighWayMe.py b/module/plugins/accounts/HighWayMe.py
index 8be933c37..c3d99f88e 100644
--- a/module/plugins/accounts/HighWayMe.py
+++ b/module/plugins/accounts/HighWayMe.py
@@ -19,7 +19,7 @@ class HighWayMe(Account):
validuntil = -1
trafficleft = None
- json_data = self.load('https://high-way.me/api.php?user', req=req)
+ json_data = self.load('https://high-way.me/api.php?user')
self.log_debug("JSON data: %s" % json_data)
@@ -43,8 +43,7 @@ class HighWayMe(Account):
html = self.load("https://high-way.me/api.php?login",
post={'login': '1',
'user': user,
- 'pass': data['password']},
- req=req)
+ 'pass': data['password']})
if 'UserOrPassInvalid' in html:
self.wrong_password()