From 5c52a70fcef7e3f64c9d1a82aaba45eda9587e2e Mon Sep 17 00:00:00 2001 From: Cimbali Date: Tue, 16 Jan 2018 15:15:34 +0100 Subject: [PATCH] Fix string causing exception when talk-time used --- pympress/talk_time.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pympress/talk_time.py b/pympress/talk_time.py index 5f72fefc..5496a17b 100644 --- a/pympress/talk_time.py +++ b/pympress/talk_time.py @@ -132,7 +132,7 @@ def update_time_color(self, remaining): position = (remaining - prev_time) / (timestamp - prev_time) color_spec = '* {{color: mix({}, {}, {})}}'.format(prev_color.to_string(), color.to_string(), position) else: - color_spec = '* {color: {}}'.format(color.to_string()) + color_spec = '* {{color: {}}}'.format(color.to_string()) self.color_override.load_from_data(color_spec.encode('ascii'))