Fix bug that added : at the end of the key

This commit is contained in:
jvblasco 2015-05-22 14:32:57 +02:00
parent 1b74efd2d0
commit 60691ef20d

View File

@ -1,8 +1,8 @@
{%- macro print_name(identifier, key) -%} {%- macro print_name(identifier, key) -%}
{%- if 'name' in key %} {%- if 'name' in key %}
{{ key['name'] }}: {{ key['name'] }}
{%- else %} {%- else %}
{{ identifier }}: {{ identifier }}
{%- endif %} {%- endif %}
{%- endmacro -%} {%- endmacro -%}