upper case pi, fixes #1677
This commit is contained in:
parent
305cc4f9b8
commit
b87cab29fe
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()
|
title = ox.decode_html(data.get('title', '')).upper()
|
||||||
director = ox.decode_html(u', '.join(data.get('director', []))).upper()
|
director = ox.decode_html(u', '.join(data.get('director', []))).upper()
|
||||||
for key, value in {u'π': u'PI', u'ß': u'SS'}.iteritems():
|
for key, value in {u'\u03a0': 'PI', u'ß': u'SS'}.iteritems():
|
||||||
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