aboutsummaryrefslogtreecommitdiffstats
path: root/templating/templating.py
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2016-11-07 21:01:52 +0100
committerKristian Lyngstol <kly@kly.no>2016-11-07 21:01:52 +0100
commitf0ba03a2319f1c2ac9346494dc03696684722d4e (patch)
treec6e9cc5d10fc43e1debfcd7dceea3f08164757fc /templating/templating.py
parent1645bca3aed66c2121fe6d8aaeea8405906723e2 (diff)
Fill up switches.txt template
Diffstat (limited to 'templating/templating.py')
-rwxr-xr-xtemplating/templating.py2
1 files changed, 1 insertions, 1 deletions
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):