diff --git a/scripts/poster.py b/scripts/poster.py index 02b5713..33d3c3c 100755 --- a/scripts/poster.py +++ b/scripts/poster.py @@ -37,8 +37,8 @@ def get_frame(id, height, position): def get_hue(collection, title): return ox.getHSL( [int(''.join(x), 16) for x in zip( - hashlib.sha1(collection).hexdigest()[:3], - hashlib.sha1(title).hexdigest()[:3] + hashlib.sha1(collection.encode('utf-8')).hexdigest()[:3], + hashlib.sha1(title.encode('utf-8')).hexdigest()[:3] )] )[0]