From 75677ea07e4f83de51cd7aed28a10831ab257c38 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 23 Oct 2014 12:42:11 +0100 Subject: [PATCH] fix poster --- scripts/poster.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/poster.py b/scripts/poster.py index 70010d3..a6665ec 100755 --- a/scripts/poster.py +++ b/scripts/poster.py @@ -29,7 +29,7 @@ def render_poster(data, poster): poster_width = 640 poster_height = 1024 poster_ratio = poster_width / poster_height - poster_color = (255, 255, 0) + poster_color = (255, 0, 0) poster_image = Image.new('RGB', (poster_width, poster_height)) font_file = os.path.join(static_root, 'DejaVuSansCondensedBold.ttf') font_size = 48 @@ -45,7 +45,7 @@ def render_poster(data, poster): poster_image.paste(line_image, (0, i * timeline_height)) # id - text = 'Bak.ma/' + id + text = 'bak.ma/' + id text_image = Image.new('RGB', (1, 1)) text_size = drawText(text_image, (0, 0), text, font_file, font_size, poster_color) text_width = poster_width