From bdb904f628202461f4fb0f7cda30bbc571d76e64 Mon Sep 17 00:00:00 2001 From: ng0 Date: Wed, 20 Feb 2019 19:11:32 +0000 Subject: template --- template.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'template.py') 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__ trim_blocks=True, undefined=jinja2.StrictUndefined, autoescape=False) -# DEBUG OUTPUT: print(sys.path) +# DEBUG OUTPUT: +if (os.getenv("DEBUG")): + print(sys.path) langs_full = {"en": "English", "fr": "Français", "it": "Italiano", "es": "Español", "de": "Deutsch"} -- cgit v1.2.3