From f0ba03a2319f1c2ac9346494dc03696684722d4e Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Mon, 7 Nov 2016 21:01:52 +0100 Subject: Fill up switches.txt template --- templating/templating.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templating/templating.py') diff --git a/templating/templating.py b/templating/templating.py index 2c1259a..5144b89 100755 --- a/templating/templating.py +++ b/templating/templating.py @@ -17,7 +17,7 @@ def updateData(): for a in endpoints: objects[a] = getEndpoint(a) -env = Environment(loader=FileSystemLoader(['templates/','/opt/gondul/templating/templates'])) +env = Environment(loader=FileSystemLoader(['templates/','/opt/gondul/templating/templates']),lstrip_blocks=True, trim_blocks=True) import http.server class MyHandler(http.server.BaseHTTPRequestHandler): -- cgit v1.2.3