Skip to content

Commit f342cf0

Browse files
Add newline character to task string
1 parent 35c74dd commit f342cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

timesheet_helper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def duration(match):
6666
if re.search(pattern, line):
6767
task = re.sub(pattern + ',?', '', line).strip()
6868
task = re.sub(r'^\s*o\s*', '• ', task)
69-
task += f" {total_duration_hours}"
69+
task += f" {total_duration_hours}\n" # Add a newline character here
7070
day_tasks.append(task)
7171

7272
if day_tasks:

0 commit comments

Comments
 (0)