summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/MegaDebridEu.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/MegaDebridEu.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/MegaDebridEu.py')
-rw-r--r--module/plugins/accounts/MegaDebridEu.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/accounts/MegaDebridEu.py b/module/plugins/accounts/MegaDebridEu.py
index 817dd800f..4f055ff37 100644
--- a/module/plugins/accounts/MegaDebridEu.py
+++ b/module/plugins/accounts/MegaDebridEu.py
@@ -23,8 +23,7 @@ class MegaDebridEu(Account):
jsonResponse = self.load(self.API_URL,
get={'action' : 'connectUser',
'login' : user,
- 'password': data['password']},
- req=req)
+ 'password': data['password']})
res = json_loads(jsonResponse)
if res['response_code'] == "ok":
@@ -38,8 +37,7 @@ class MegaDebridEu(Account):
jsonResponse = self.load(self.API_URL,
get={'action' : 'connectUser',
'login' : user,
- 'password': data['password']},
- req=req)
+ 'password': data['password']})
res = json_loads(jsonResponse)
if res['response_code'] != "ok":
self.wrong_password()