Skip to content

Commit

Permalink
Fixed to_string
Browse files Browse the repository at this point in the history
  • Loading branch information
jahooker committed Jul 18, 2024
1 parent 1ca70e0 commit 9baea61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/starfile/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,4 @@ def to_string(
quote_character=quote_character,
quote_all_strings=quote_all_strings,
)
return ''.join(writer.file_contents())
return ''.join(line + '\n' for line in writer.lines())

0 comments on commit 9baea61

Please sign in to comment.