From 3112f55430b401945a3db81d0206c1d484d1cc5a Mon Sep 17 00:00:00 2001 From: j Date: Sun, 15 Oct 2017 11:57:42 +0200 Subject: [PATCH] no iteritems in python3 --- 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 bd435b54..efc29ab8 100755 --- a/scripts/poster.0xdb.py +++ b/scripts/poster.0xdb.py @@ -40,7 +40,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 {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', ''))