Fix linebreaks

This commit is contained in:
benjamin melançon 2020-07-06 08:48:24 -04:00
parent da3426e196
commit cb333c4bc5

View file

@ -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):