diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-11-15 23:10:26 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-11-15 23:10:26 +0100 |
commit | 6891645614426aab6fae1561ba925f81b214e993 (patch) | |
tree | 20cd3963d4e05af10fa0eae2b899181b699bc128 /module/web/webinterface.py | |
parent | improved plugin loader, import hook to always use newest plugin versions (diff) | |
download | pyload-6891645614426aab6fae1561ba925f81b214e993.tar.xz |
closed #420
Diffstat (limited to 'module/web/webinterface.py')
-rw-r--r-- | module/web/webinterface.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/module/web/webinterface.py b/module/web/webinterface.py index b531d0583..68724e3f6 100644 --- a/module/web/webinterface.py +++ b/module/web/webinterface.py @@ -79,7 +79,7 @@ loader = PrefixLoader({ 'js': FileSystemLoader(join(PROJECT_DIR, 'media', 'js')) }) -env = Environment(loader=loader, extensions=['jinja2.ext.i18n'], trim_blocks=True, auto_reload=False, +env = Environment(loader=loader, extensions=['jinja2.ext.i18n', 'jinja2.ext.autoescape'], trim_blocks=True, auto_reload=False, bytecode_cache=bcc) from filters import quotepath, path_make_relative, path_make_absolute, truncate, date @@ -118,8 +118,6 @@ web = GZipMiddleWare(web) if PREFIX: web = PrefixMiddleware(web, prefix=PREFIX) -#TODO: compress plugin, install(otfcompress) - import pyload_app import json_app import cnl_app |