no iteritems in python3
This commit is contained in:
parent
f5bb701561
commit
3112f55430
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ def render_poster(data, poster):
|
|||
|
||||
title = ox.decode_html(data.get('title', '')).upper()
|
||||
director = ox.decode_html(u', '.join(data.get('director', []))).upper()
|
||||
for key, value in {u'\u03a0': 'PI', u'ß': u'SS'}.iteritems():
|
||||
for key, value in {u'\u03a0': 'PI', u'ß': u'SS'}.items():
|
||||
title = title.replace(key, value)
|
||||
director = director.replace(key, value)
|
||||
year = str(data.get('year', ''))
|
||||
|
|
Loading…
Reference in a new issue