From 1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 17 Jul 2015 15:29:48 +0200 Subject: No more need to use the req argument when call load method --- module/plugins/accounts/MegaDebridEu.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'module/plugins/accounts/MegaDebridEu.py') 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() -- cgit v1.2.3