Skip to content

Commit

Permalink
Datasets as YML
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Rey committed Oct 16, 2024
1 parent fa785db commit 03f2e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preflibapp/management/commands/dataset_as_yml.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ def handle(self, *args, **options):
if not options["f"]:
options["f"] = "dataset.yml"

with open(options["f"], "w") as f:
with open(options["f"], "w", encoding="utf-8") as f:
yaml.dump(yml_data, f, default_flow_style=False, sort_keys=False)

0 comments on commit 03f2e85

Please sign in to comment.