Quick fix

This commit is contained in:
Sergei Turukin 2016-05-18 15:49:20 +03:00
parent cea50cbe5e
commit ccb688c404

View File

@ -55,7 +55,7 @@ class Pomodoro(IntervalModule):
if self.time and datetime.utcnow() >= self.time:
if self.state == RUNNING:
self.state = BREAK
if self.breaks == self.short_break_count:
if self.current_pomodoro == self.short_break_count:
self.time = datetime.utcnow() + \
timedelta(seconds=self.long_break_duration)
else: