Trying to fix config parser
This commit is contained in:
parent
466557317a
commit
9df5862e47
1 changed files with 2 additions and 2 deletions
|
@ -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 }}"
|
||||
|
|
Loading…
Reference in a new issue