summaryrefslogtreecommitdiffstats
path: root/module/web/utils.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-06 12:56:32 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-06 12:56:32 +0100
commit2cb61c7c17138c9144a3b66e5c1689c4f8f3560f (patch)
treec59fadd6fdb8431dcd2a131564990fe15408e655 /module/web/utils.py
parentsome fixes (diff)
downloadpyload-2cb61c7c17138c9144a3b66e5c1689c4f8f3560f.tar.xz
closed #231
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):