Use central string minutes formatting function in more places
This commit is contained in:
parent
5d5280cab2
commit
d7e9c6c2ef
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ def main():
|
|||
print('Working on: ', whatnext)
|
||||
while datetime.now(pytz.utc) <= end:
|
||||
to_go = end-datetime.now(pytz.utc)
|
||||
print('\r', str(to_go).split('.')[0], sep='', end='')
|
||||
print('\r', str_minutes(to_go), sep='', end='')
|
||||
time.sleep(1)
|
||||
whatdid = pomodoro_prompt_report(whatnext)
|
||||
record_task(whatdid, start)
|
||||
|
|
Loading…
Reference in a new issue