aboutsummaryrefslogtreecommitdiff
path: root/template.py
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-02-20 19:11:32 +0000
committerng0 <ng0@n0.is>2019-02-20 19:11:32 +0000
commitbdb904f628202461f4fb0f7cda30bbc571d76e64 (patch)
treefdd1e31872e86119a07b36131ee1cb5a8e1bd815 /template.py
parent02d5c080f1b51f75723772f003e8b19e111608cc (diff)
downloadwww-bdb904f628202461f4fb0f7cda30bbc571d76e64.tar.gz
www-bdb904f628202461f4fb0f7cda30bbc571d76e64.zip
template
Diffstat (limited to 'template.py')
-rwxr-xr-xtemplate.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/template.py b/template.py
index 0af50f68..90e10ffc 100755
--- a/template.py
+++ b/template.py
@@ -28,7 +28,9 @@ env = jinja2.Environment(loader=jinja2.FileSystemLoader(os.path.dirname(__file__
28 trim_blocks=True, 28 trim_blocks=True,
29 undefined=jinja2.StrictUndefined, 29 undefined=jinja2.StrictUndefined,
30 autoescape=False) 30 autoescape=False)
31# DEBUG OUTPUT: print(sys.path) 31# DEBUG OUTPUT:
32if (os.getenv("DEBUG")):
33 print(sys.path)
32 34
33langs_full = {"en": "English", "fr": "Français", "it": "Italiano", "es": "Español", "de": "Deutsch"} 35langs_full = {"en": "English", "fr": "Français", "it": "Italiano", "es": "Español", "de": "Deutsch"}
34 36