summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/XHamsterCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/XHamsterCom.py')
-rw-r--r--module/plugins/hoster/XHamsterCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/XHamsterCom.py b/module/plugins/hoster/XHamsterCom.py
index 1673797cc..075fa693e 100644
--- a/module/plugins/hoster/XHamsterCom.py
+++ b/module/plugins/hoster/XHamsterCom.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.Hoster import Hoster
@@ -62,7 +62,7 @@ class XHamsterCom(Hoster):
self.error(_("flashvar not found"))
j = clean_json(json_flashvar.group(1))
- flashvars = json_loads(j)
+ flashvars = json.loads(j)
if flashvars['srv']:
srv_url = flashvars['srv'] + '/'