Skip to content

Commit 8f59aa6

Browse files
committed
Removes the newline at the end
1 parent be8c312 commit 8f59aa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def read_result_file() -> str | None:
7070
result_text = re.sub(
7171
r"\x1B\[[0-9;]*[a-zA-Z]", "", result_file.read()
7272
) # Remove ANSI colors
73-
return result_text
73+
return result_text.rstrip()
7474
return None
7575

7676

0 commit comments

Comments
 (0)