Fix missing info for when interrupting pomodoro
This commit is contained in:
parent
62560ad8db
commit
501784c562
1 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,8 @@ def main():
|
|||
record_task(whatdid, start)
|
||||
continue
|
||||
except KeyboardInterrupt:
|
||||
print('\n{} time spent, save?'.format(str(diff).split('.')[0]))
|
||||
time_spent = datetime.now(pytz.utc) - start
|
||||
print('\n{} time spent, save?'.format(str(time_spent).split('.')[0]))
|
||||
choice = input('[y]/n: ').strip()
|
||||
if choice.lower() in ('y', 'yes', ''):
|
||||
whatdid = pomodoro_prompt_report(whatnext)
|
||||
|
|
Loading…
Reference in a new issue