Fix iterable check

This commit is contained in:
Patrick Uiterwijk 2015-07-25 21:29:18 +00:00
parent 95fd1ebdcb
commit eae0817f82

View file

@ -12,7 +12,7 @@
{% for entry in authz_details|dictsort %}
<tr>
<td>{{ entry[0] }}</td>
{%- if entry[1] | iterable -%}
{%- if entry[1] is iterable and not entry[1] is string -%}
<td>{{ entry[1] | join(', ') }}</td>
{%- else -%}
<td>{{ entry[1] }}</td>