From cf66d218c3a23b59fcb2389a4379e2a99ea060c3 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 19 Feb 2013 15:20:48 +0530 Subject: [PATCH] update poster colors --- scripts/poster.indiancinema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/poster.indiancinema.py b/scripts/poster.indiancinema.py index 2f29810bc..52144e497 100755 --- a/scripts/poster.indiancinema.py +++ b/scripts/poster.indiancinema.py @@ -31,7 +31,7 @@ def render_poster(title, director, year, frame, timeline, poster): draw = ImageDraw.Draw(poster_image) font_file = os.path.join(static_root, 'SourceSansProSemibold.ttf') font_size = {'cinema': 107, 'director': 32, 'title': 48, 'year': 387} - font_lightness = {'cinema': 0.8, 'director': 0.2, 'title': 0.2, 'year': 0.6} + font_lightness = {'cinema': 0.8 if year else 0.6, 'director': 0.2, 'title': 0.2, 'year': 0.6} poster_lightness = {'image': 0.2, 'text': 0.4} if year: