Skip to content

Commit

Permalink
fix: insert endline at the end of the score line
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniele-Tentoni committed Mar 4, 2022
1 parent 10cd44d commit 2b959a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cc_codechecker/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def run(self):

try:
with open('score.txt', 'w', encoding='locale') as score_writer:
score_writer.write(str(score))
score_writer.write(f'{str(score)}\n')
except OSError as ex:
print(f'Exception in writing scores: {ex}')

Expand Down

0 comments on commit 2b959a0

Please sign in to comment.