py3 fixes
This commit is contained in:
parent
9b83231721
commit
fa9835117c
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ def render_poster(data, poster):
|
||||||
director = ox.decode_html(u', '.join(data.get(key, []))).upper()
|
director = ox.decode_html(u', '.join(data.get(key, []))).upper()
|
||||||
if director:
|
if director:
|
||||||
break
|
break
|
||||||
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)
|
title = title.replace(key, value)
|
||||||
director = director.replace(key, value)
|
director = director.replace(key, value)
|
||||||
year = str(data.get('year', ''))
|
year = str(data.get('year', ''))
|
||||||
|
|
Loading…
Reference in a new issue