Corrected output of pomodoro module.
There was a stale comma left from a previous refactor, this caused the module to return output as a tuple, which ended up in the json as an array. This has the effect that modules after (left of) this module refuse to display in i3bar.
This commit is contained in:
parent
ff498e8b4e
commit
eb9460ad79
@ -83,7 +83,7 @@ class Pomodoro(IntervalModule):
|
|||||||
color = self.color_running if self.state == RUNNING else self.color_break
|
color = self.color_running if self.state == RUNNING else self.color_break
|
||||||
text = self.format.format(**sdict)
|
text = self.format.format(**sdict)
|
||||||
else:
|
else:
|
||||||
text = 'Start pomodoro',
|
text = 'Start pomodoro'
|
||||||
color = self.color_stopped
|
color = self.color_stopped
|
||||||
|
|
||||||
self.output = {
|
self.output = {
|
||||||
|
Loading…
Reference in New Issue
Block a user