summaryrefslogtreecommitdiffstats
path: root/module/web/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/utils.py')
-rw-r--r--module/web/utils.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/module/web/utils.py b/module/web/utils.py
index cf3f2d5f3..d7e76f84d 100644
--- a/module/web/utils.py
+++ b/module/web/utils.py
@@ -16,8 +16,6 @@
@author: RaNaN
"""
-from os.path import join, abspath, commonprefix
-
from bottle import request, HTTPError, redirect, ServerAdapter
from webinterface import env, TEMPLATE
@@ -26,7 +24,7 @@ def render_to_response(name, args={}, proc=[]):
for p in proc:
args.update(p())
- t = env.get_template(join(TEMPLATE, name))
+ t = env.get_template(TEMPLATE + "/" + name)
return t.render(**args)
def parse_permissions(session):