From 2018a1da2fd6d4104eda5aa612247439ff89c195 Mon Sep 17 00:00:00 2001 From: Stefano Date: Sun, 23 Mar 2014 16:01:02 +0100 Subject: Fixed template loader --- module/web/webinterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/web/webinterface.py') 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')) }) -- cgit v1.2.3