Updated linter

This commit is contained in:
maziggy
2026-01-11 07:23:37 +01:00
parent b95d0113ac
commit 169f2aaf08
+2 -2
View File
@@ -179,8 +179,8 @@ class FirmwareUpdateService:
result["space_sufficient"] = result["sd_card_free_space"] >= required
if not result["space_sufficient"]:
result["errors"].append(
f"Insufficient SD card space. Need {required // (1024*1024)}MB, "
f"have {result['sd_card_free_space'] // (1024*1024)}MB"
f"Insufficient SD card space. Need {required // (1024 * 1024)}MB, "
f"have {result['sd_card_free_space'] // (1024 * 1024)}MB"
)
elif result["sd_card_present"]:
# Couldn't determine space, assume sufficient