fix error showing binwalk

This commit is contained in:
Zeecka
2025-12-30 17:08:34 +01:00
parent 64f13f53c3
commit 474ad62085
+1 -1
View File
@@ -45,7 +45,7 @@ def analyze_binwalk(input_img: Path, output_dir: Path) -> None:
if extracted_dir.exists(): if extracted_dir.exists():
shutil.rmtree(extracted_dir) shutil.rmtree(extracted_dir)
if len(stderr) > 0: if len(stderr) > 0 and not zip_exist:
err: dict[str, dict[str, Any]] = { err: dict[str, dict[str, Any]] = {
"binwalk": { "binwalk": {
"status": "error", "status": "error",