🔨 Clean up and improve some Python scripts (#27752)

This commit is contained in:
Andrew
2025-08-13 13:33:09 -04:00
committed by GitHub
parent 081458a3c8
commit 4fb984e960
12 changed files with 377 additions and 313 deletions
@@ -3,7 +3,7 @@
# configuration.py
# Apply options from config.ini to the existing Configuration headers
#
import re, shutil, configparser, datetime
import re, os, shutil, configparser, datetime
from pathlib import Path
verbose = 0
@@ -145,8 +145,6 @@ def fetch_example(url):
blab("Couldn't find curl or wget", -1)
return False
import os
# Reset configurations to default
os.system("git checkout HEAD Marlin/*.h")