From 305cc4f9b8050cd573a99d40d9fd8d451a676cbf Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 22 Jul 2013 19:18:08 +0000 Subject: [PATCH] unicode title --- scripts/poster.0xdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/poster.0xdb.py b/scripts/poster.0xdb.py index fba92430..8e926bb2 100755 --- a/scripts/poster.0xdb.py +++ b/scripts/poster.0xdb.py @@ -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', ''))