summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/OverLoadMe.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/OverLoadMe.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/OverLoadMe.py')
-rw-r--r--module/plugins/accounts/OverLoadMe.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/accounts/OverLoadMe.py b/module/plugins/accounts/OverLoadMe.py
index 22f2f4d9f..b0e38c849 100644
--- a/module/plugins/accounts/OverLoadMe.py
+++ b/module/plugins/accounts/OverLoadMe.py
@@ -18,8 +18,7 @@ class OverLoadMe(Account):
data = self.get_account_data(user)
html = self.load("https://api.over-load.me/account.php",
get={'user': user,
- 'auth': data['password']},
- req=req).strip()
+ 'auth': data['password']}).strip()
data = json_loads(html)
self.log_debug(data)
@@ -34,8 +33,7 @@ class OverLoadMe(Account):
def login(self, user, data, req):
jsondata = self.load("https://api.over-load.me/account.php",
get={'user': user,
- 'auth': data['password']},
- req=req).strip()
+ 'auth': data['password']}).strip()
data = json_loads(jsondata)