Skip to content

Commit

Permalink
Fix string causing exception when talk-time used
Browse files Browse the repository at this point in the history
  • Loading branch information
Cimbali committed Jan 16, 2018
1 parent 5e29ea2 commit 5c52a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pympress/talk_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'))

Expand Down

0 comments on commit 5c52a70

Please sign in to comment.