Skip to content

Commit

Permalink
Merge branch 'main' into maintain/2-0-remove-deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
kroenlein authored Feb 5, 2024
2 parents f5e326b + c80f22e commit 9455dd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gemd/units/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
def _deploy_default_files() -> str:
"""Copy the units & constants file into a temporary directory."""
units_path = Path(_TEMP_DIRECTORY.name) / "citrine_en.txt"
units_path.write_text(read_text("gemd.units", "citrine_en.txt"))
units_path.write_text(read_text("gemd.units", "citrine_en.txt"), encoding="utf-8")

constants_path = Path(_TEMP_DIRECTORY.name) / "constants_en.txt"
constants_path.write_text(read_text("gemd.units", "constants_en.txt"))
constants_path.write_text(read_text("gemd.units", "constants_en.txt"), encoding="utf-8")

return str(units_path)

Expand Down

0 comments on commit 9455dd4

Please sign in to comment.