From fa9835117c85fdce3409429bb979f5778f433fbd Mon Sep 17 00:00:00 2001 From: j Date: Thu, 14 Dec 2017 17:14:43 +0000 Subject: [PATCH] py3 fixes --- scripts/poster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/poster.py b/scripts/poster.py index 9aa4646..bd40b61 100755 --- a/scripts/poster.py +++ b/scripts/poster.py @@ -46,7 +46,7 @@ def render_poster(data, poster): director = ox.decode_html(u', '.join(data.get(key, []))).upper() if director: 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) director = director.replace(key, value) year = str(data.get('year', ''))