🧑‍💻 Py scripts refinements

This commit is contained in:
Scott Lahteine
2025-10-07 02:26:49 -05:00
parent 0937fe55a4
commit 35da223f0a
8 changed files with 25 additions and 23 deletions
@@ -79,7 +79,7 @@ if pioutil.is_pio_build():
modified_text = text.replace("BOTH(", "ALL(").replace("EITHER(", "ANY(")
if text != modified_text:
conf_modified = True
with open(conf_path, 'w', encoding="utf8") as file:
with open(conf_path, 'w', encoding="utf8", newline='') as file:
file.write(modified_text)
if conf_modified: