summaryrefslogtreecommitdiffstats
path: root/pyload/webui/app
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-08 01:08:03 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-14 11:03:20 +0200
commit91115fd577f20704ef7f2e74c4527ffbb0730a09 (patch)
tree198fc68f1eb6f42e220d0f1c68499f48ae70543c /pyload/webui/app
parentProject __init__ with info (diff)
downloadpyload-91115fd577f20704ef7f2e74c4527ffbb0730a09.tar.xz
Restructure pyload file tree (1)
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: