Fix linebreaks
This commit is contained in:
parent
da3426e196
commit
cb333c4bc5
1 changed files with 2 additions and 2 deletions
|
@ -53,9 +53,9 @@ def log_step(text, start, end_section=False):
|
||||||
timelog_file = Path(timelog_path)
|
timelog_file = Path(timelog_path)
|
||||||
timelog_file.touch(exist_ok=True)
|
timelog_file.touch(exist_ok=True)
|
||||||
with timelog_file.open('a') as timelog:
|
with timelog_file.open('a') as timelog:
|
||||||
timelog.write(text)
|
timelog.write(text + '\n')
|
||||||
if end_section:
|
if end_section:
|
||||||
timelog.write('/n/n')
|
timelog.write('\n\n')
|
||||||
|
|
||||||
|
|
||||||
def record_task(whatdid, start, end=None):
|
def record_task(whatdid, start, end=None):
|
||||||
|
|
Loading…
Reference in a new issue