summaryrefslogtreecommitdiffstats
path: root/module/web/webinterface.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2014-03-23 16:01:02 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-06-28 02:46:18 +0200
commit2018a1da2fd6d4104eda5aa612247439ff89c195 (patch)
tree9acf7221866f18dbc5d570f67b23979e2828b3ae /module/web/webinterface.py
parentReferring to renamed README (diff)
downloadpyload-2018a1da2fd6d4104eda5aa612247439ff89c195.tar.xz
Fixed template loader
Diffstat (limited to 'module/web/webinterface.py')
-rw-r--r--module/web/webinterface.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/web/webinterface.py b/module/web/webinterface.py
index ec8b2e56c..af4b9417f 100644
--- a/module/web/webinterface.py
+++ b/module/web/webinterface.py
@@ -76,7 +76,7 @@ if not exists(cache):
bcc = FileSystemBytecodeCache(cache, '%s.cache')
loader = PrefixLoader({
- "default": FileSystemLoader(join(PROJECT_DIR, "templates", "default")),
+ TEMPLATE: FileSystemLoader(join(PROJECT_DIR, "templates", TEMPLATE)),
'js': FileSystemLoader(join(PROJECT_DIR, 'media', 'js'))
})