If keyboard interrupt (control c) is used, give quit prompt even if record that last partial pomodoro
This commit is contained in:
parent
cb333c4bc5
commit
33390b74b7
1 changed files with 1 additions and 2 deletions
|
@ -95,7 +95,6 @@ def main():
|
||||||
whatdid = pomodoro_prompt_report(whatnext)
|
whatdid = pomodoro_prompt_report(whatnext)
|
||||||
record_task(whatdid, start)
|
record_task(whatdid, start)
|
||||||
log_step('Incomplete (' + time_spent + ') pomodoro: ' + whatdid, start, True)
|
log_step('Incomplete (' + time_spent + ') pomodoro: ' + whatdid, start, True)
|
||||||
else:
|
|
||||||
quit_prompt()
|
quit_prompt()
|
||||||
else:
|
else:
|
||||||
print('What did you break?')
|
print('What did you break?')
|
||||||
|
|
Loading…
Reference in a new issue