Skip to content
Snippets Groups Projects
Commit a7fd4646 authored by Andreas Valder's avatar Andreas Valder
Browse files

made jinja delete empty lines

parent 22e98a56
Branches
No related tags found
No related merge requests found
...@@ -8,6 +8,9 @@ import os ...@@ -8,6 +8,9 @@ import os
app = Flask(__name__) app = Flask(__name__)
app.jinja_env.trim_blocks = True
app.jinja_env.lstrip_blocks = True
def timer_func(): def timer_func():
with app.test_request_context(): with app.test_request_context():
pass # do something pass # do something
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment