Browse Source

ffinfo: remove bloody hack

Karsten Böddeker 7 years ago
parent
commit
dde006dac4
1 changed files with 1 additions and 9 deletions
  1. 1 9
      ffinfo/list.tmpl

+ 1 - 9
ffinfo/list.tmpl

@@ -1,9 +1 @@
-{#- Bloody hack to avoid leading empty line... #}
-{%- set i = list|length %}
-{%- for item in list|sort -%}
-{{ item }}
-{%- set i = i-1 %}
-{%- if i != 0 %}
-{# #}
-{%- endif %}
-{%- endfor %}
+{{ "\n".join( list|sort ) }}