Skip to content

Commit

Permalink
Fixed the YAML config parsing regression (with encodings) on Windows (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
openvmp authored Nov 12, 2024
1 parent 65569d7 commit 9c8c2b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion partcad/src/partcad/project_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(
return

# Read the body of the configuration file
fp = open(self.config_path, "r")
fp = open(self.config_path, "r", encoding="utf-8")
config = fp.read()
fp.close()

Expand Down

0 comments on commit 9c8c2b4

Please sign in to comment.