diff options
author | Stefano <l.stickell@yahoo.it> | 2014-03-23 16:01:02 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-06-28 02:46:18 +0200 |
commit | 2018a1da2fd6d4104eda5aa612247439ff89c195 (patch) | |
tree | 9acf7221866f18dbc5d570f67b23979e2828b3ae /module/web/webinterface.py | |
parent | Referring to renamed README (diff) | |
download | pyload-2018a1da2fd6d4104eda5aa612247439ff89c195.tar.xz |
Fixed template loader
Diffstat (limited to 'module/web/webinterface.py')
-rw-r--r-- | module/web/webinterface.py | 2 |
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')) }) |