From cb333c4bc5c802e0740ccb9f314e08f74438e75f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 6 Jul 2020 08:48:24 -0400 Subject: [PATCH] Fix linebreaks --- pomodoroprompt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pomodoroprompt.py b/pomodoroprompt.py index 57cd233..d1d586c 100644 --- a/pomodoroprompt.py +++ b/pomodoroprompt.py @@ -53,9 +53,9 @@ def log_step(text, start, end_section=False): timelog_file = Path(timelog_path) timelog_file.touch(exist_ok=True) with timelog_file.open('a') as timelog: - timelog.write(text) + timelog.write(text + '\n') if end_section: - timelog.write('/n/n') + timelog.write('\n\n') def record_task(whatdid, start, end=None):