Fix PEP8 issue

This commit is contained in:
Sergei Turukin 2016-05-18 14:53:59 +03:00
parent 565e4a66d1
commit cea50cbe5e

View File

@ -74,9 +74,9 @@ class Pomodoro(IntervalModule):
min, sec = divmod((self.time - datetime.utcnow()).total_seconds(), 60) min, sec = divmod((self.time - datetime.utcnow()).total_seconds(), 60)
text = '{:02}:{:02}'.format(int(min), int(sec)) text = '{:02}:{:02}'.format(int(min), int(sec))
sdict = { sdict = {
'time': text, 'time': text,
'current_pomodoro': self.current_pomodoro + 1, 'current_pomodoro': self.current_pomodoro + 1,
'total_pomodoro': self.total_pomodoro, 'total_pomodoro': self.total_pomodoro
} }
color = self.color_running if self.state == RUNNING else self.color_break color = self.color_running if self.state == RUNNING else self.color_break