Trying to fix config parser

This commit is contained in:
Eric Renfro 2018-05-18 18:11:58 -04:00
parent 466557317a
commit 9df5862e47
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
{% for section in config -%}
[{{ section }}]
{% for key, val in config[section].iteritems() -%}
{% if val is True -%}
{% if val == True -%}
{{ key }} = true
{% elif val is False -%}
{% elif val == False -%}
{{ key }} = false
{% else -%}
{{ key }} = "{{ val }}"