summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/MegaDebridEu.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/MegaDebridEu.py')
-rw-r--r--module/plugins/accounts/MegaDebridEu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/MegaDebridEu.py b/module/plugins/accounts/MegaDebridEu.py
index d7a04491d..7c40eec6c 100644
--- a/module/plugins/accounts/MegaDebridEu.py
+++ b/module/plugins/accounts/MegaDebridEu.py
@@ -19,7 +19,7 @@ class MegaDebridEu(Account):
API_URL = "https://www.mega-debrid.eu/api.php"
- def parse_info(self, user, password, data, req):
+ def grab_info(self, user, password, data, req):
data = self.get_data(user)
jsonResponse = self.load(self.API_URL,
get={'action' : 'connectUser',
@@ -41,4 +41,4 @@ class MegaDebridEu(Account):
'password': password})
res = json_loads(jsonResponse)
if res['response_code'] != "ok":
- self.login_fail()
+ self.fail_login()