From 0d1912fec1e195885cdec9db4ace102924d69503 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Tue, 13 Dec 2022 14:26:48 +0100 Subject: [PATCH] Fix Mako config file --- templates/mako.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/mako.j2 b/templates/mako.j2 index e58f73a..43059ba 100644 --- a/templates/mako.j2 +++ b/templates/mako.j2 @@ -1,6 +1,8 @@ {% if mako_options is defined %} {% for option, value in mako_options.items() %} -{{ option }}="{{ value }}" +{% if value or value == 0 %} +{{ option }}={{ value }} +{% endif %} {% endfor %} {% endif %} {% if mako_rules %}