Improve Compatibility with Python3
replace .iteritems() with .items | list in jinja2 Templates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user