unicode title
This commit is contained in:
parent
d148bb04fd
commit
305cc4f9b8
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,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 {'π': 'PI', 'ß': 'SS'}.iteritems():
|
||||
for key, value in {u'π': u'PI', u'ß': u'SS'}.iteritems():
|
||||
title = title.replace(key, value)
|
||||
director = director.replace(key, value)
|
||||
year = str(data.get('year', ''))
|
||||
|
|
Loading…
Reference in a new issue