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 03f2e85 commit 68fccfe
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 @@ -35,4 +35,4 @@ def handle(self, *args, **options):
options["f"] = "dataset.yml"

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

0 comments on commit 68fccfe

Please sign in to comment.