Added null string handler.

This commit is contained in:
Jeff Baskin 2016-10-23 23:12:25 -04:00
parent b0c56cadab
commit 5e4e5d8b4a

View File

@ -29,7 +29,9 @@
{{ carryover|indent(indents, True) }}{{ ' ' }} {{ carryover|indent(indents, True) }}{{ ' ' }}
{%- endif -%} {%- endif -%}
{{ entry[0]|indent(indents, True) }} {{ entry[0]|indent(indents, True) }}
{%- if entry[1] is defined -%}
{{- config_entries(entry[1], indents + 2) -}} {{- config_entries(entry[1], indents + 2) -}}
{%- endif -%}
{%- endif -%} {%- endif -%}
{%- endfor -%} {%- endfor -%}
{%- else -%} {%- else -%}