🔨 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
+1
View File
@@ -81,6 +81,7 @@ def Upload(source, target, env):
_Send('M21')
Responses = _Recv()
if len(Responses) < 1 or not any('SD card ok' in r for r in Responses):
debugPrint(Responses)
raise Exception('Error accessing SD card')
debugPrint('SD Card OK')
return True