Skip to content

Commit

Permalink
Merge pull request #124 from nasaharvest/codec_fix
Browse files Browse the repository at this point in the history
Add utf-8 encoding specification to writing
  • Loading branch information
ivanzvonkov authored Nov 14, 2023
2 parents 30b80fd + 5d22cb7 commit 1cb5fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmapflow/labeled_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,5 +628,5 @@ def create_datasets(datasets: List[LabeledDataset]) -> None:
print(summary)
report += "\n\n" + summary

with (PROJECT_ROOT / dp.REPORT).open("w") as f:
with (PROJECT_ROOT / dp.REPORT).open("w", encoding="utf-8") as f:
f.write(report)

0 comments on commit 1cb5fc7

Please sign in to comment.