Skip to content

Commit

Permalink
Update preflight-checks.py for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ellensp authored Jul 9, 2024
1 parent 72a2699 commit 8b81aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildroot/share/PlatformIO/scripts/preflight-checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def rm_ofile(subdir, name):
for f in config_files:
conf_path = project_dir / "Marlin" / f
if conf_path.is_file():
with open(conf_path, 'r') as file:
with open(conf_path, 'r', encoding="utf8") as file:
text = file.read()
modified_text = text.replace("BOTH(", "ALL(").replace("EITHER(", "ANY(")
if text != modified_text:
Expand Down

0 comments on commit 8b81aae

Please sign in to comment.