summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MegaDebridEu.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/MegaDebridEu.py')
-rw-r--r--module/plugins/hoster/MegaDebridEu.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/MegaDebridEu.py b/module/plugins/hoster/MegaDebridEu.py
index b6c7c513c..82d1cbb5a 100644
--- a/module/plugins/hoster/MegaDebridEu.py
+++ b/module/plugins/hoster/MegaDebridEu.py
@@ -3,7 +3,7 @@
import re
import urllib
-from module.common.json_layer import json_loads
+from module.plugins.internal.utils import json
from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo
@@ -34,7 +34,7 @@ class MegaDebridEu(MultiHoster):
user, info = self.account.select()
jsonResponse = self.load(self.API_URL,
get={'action': 'connectUser', 'login': user, 'password': info['login']['password']})
- res = json_loads(jsonResponse)
+ res = json.loads(jsonResponse)
if res['response_code'] == "ok":
self.token = res['token']
@@ -55,7 +55,7 @@ class MegaDebridEu(MultiHoster):
get={'action': 'getLink', 'token': self.token},
post={'link': pyfile.url})
- res = json_loads(jsonResponse)
+ res = json.loads(jsonResponse)
if res['response_code'] == "ok":
self.link = res['debridLink'][1:-1]