summaryrefslogtreecommitdiffstats
path: root/pyload/webui/app
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/webui/app')
-rw-r--r--pyload/webui/app/api.py4
-rw-r--r--pyload/webui/app/utils.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/pyload/webui/app/api.py b/pyload/webui/app/api.py
index 7050b78dc..286061c2a 100644
--- a/pyload/webui/app/api.py
+++ b/pyload/webui/app/api.py
@@ -9,9 +9,9 @@ from bottle import route, request, response, HTTPError
from utils import toDict, set_session
from pyload.webui import PYLOAD
-from pyload.common.json_layer import json
+from pyload.utils import json
from SafeEval import const_eval as literal_eval
-from pyload.Api import BaseObject
+from pyload.api import BaseObject
# json encoder that accepts TBase objects
class TBaseEncoder(json.JSONEncoder):
diff --git a/pyload/webui/app/utils.py b/pyload/webui/app/utils.py
index 895696c19..d5fa66a35 100644
--- a/pyload/webui/app/utils.py
+++ b/pyload/webui/app/utils.py
@@ -22,7 +22,7 @@ from bottle import request, HTTPError, redirect, ServerAdapter
from pyload.webui import env, THEME
-from pyload.Api import has_permission, PERMS, ROLE
+from pyload.api import has_permission, PERMS, ROLE
def render_to_response(file, args={}, proc=[]):
for p in proc: