mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-03-15 02:36:19 +00:00
Update preflight-checks.py for windows
This commit is contained in:
parent
72a2699b10
commit
8b81aae870
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ if pioutil.is_pio_build():
|
|||
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:
|
||||
|
|
Loading…
Add table
Reference in a new issue