If keyboard interrupt (control c) is used, give quit prompt even if record that last partial pomodoro

This commit is contained in:
benjamin melançon 2020-07-06 08:52:08 -04:00
parent cb333c4bc5
commit 33390b74b7

View file

@ -95,7 +95,6 @@ def main():
whatdid = pomodoro_prompt_report(whatnext)
record_task(whatdid, start)
log_step('Incomplete (' + time_spent + ') pomodoro: ' + whatdid, start, True)
else:
quit_prompt()
else:
print('What did you break?')