From d7e9c6c2ef1937da7680dc5b4fb76d8125fe9b37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 6 Jul 2020 09:27:57 -0400 Subject: [PATCH] Use central string minutes formatting function in more places --- pomodoroprompt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pomodoroprompt.py b/pomodoroprompt.py index 3a207d5..b2a47b0 100644 --- a/pomodoroprompt.py +++ b/pomodoroprompt.py @@ -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)