Improve Compatibility with Python3

replace .iteritems() with .items | list in jinja2 Templates
This commit is contained in:
Alexander Grothe
2019-02-24 17:50:32 +01:00
parent b816a03d69
commit 76ace23b5e
4 changed files with 5 additions and 5 deletions

View File

@@ -78,7 +78,7 @@
follow symlinks= yes
wide links= yes
{% endif %}
{% for name, path in media_dirs.iteritems() %}
{% for name, path in media_dirs.items() | list %}
[{{ name }}]
path = {{ path }}
comment = {{ name }} on %h