mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-06-01 19:09:29 +02:00
Merge pull request #1165 from fabi321/fix-line-end
Fixed platform specific behaviour in format.py
This commit is contained in:
commit
9b7baca08a
|
@ -464,7 +464,7 @@ def go(path):
|
|||
|
||||
print(f"{len(entries)} checked.")
|
||||
|
||||
with open(path, "w", encoding='UTF-8') as f2:
|
||||
with open(path, "w", encoding='utf-8', newline='\n') as f2:
|
||||
f2.write(per_line_entries(entries))
|
||||
|
||||
print("Writing completed. All done.")
|
||||
|
|
Loading…
Reference in a new issue