diff options
| author | 2015-07-17 15:29:48 +0200 | |
|---|---|---|
| committer | 2015-07-17 15:29:48 +0200 | |
| commit | 1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 (patch) | |
| tree | 820ddb376ea97d4cf3aa53ef0f4dfb4ebfa4a0d5 /module/plugins/accounts/MegaDebridEu.py | |
| parent | Spare fixes and code cosmetics (diff) | |
| download | pyload-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.py | 6 | 
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()  | 
