From 474ad6208588f1cf54300f2f30331cd7464763a5 Mon Sep 17 00:00:00 2001 From: Zeecka Date: Tue, 30 Dec 2025 17:08:34 +0100 Subject: [PATCH] fix error showing binwalk --- aperisolve/analyzers/binwalk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aperisolve/analyzers/binwalk.py b/aperisolve/analyzers/binwalk.py index 823590c..950d14a 100644 --- a/aperisolve/analyzers/binwalk.py +++ b/aperisolve/analyzers/binwalk.py @@ -45,7 +45,7 @@ def analyze_binwalk(input_img: Path, output_dir: Path) -> None: if extracted_dir.exists(): shutil.rmtree(extracted_dir) - if len(stderr) > 0: + if len(stderr) > 0 and not zip_exist: err: dict[str, dict[str, Any]] = { "binwalk": { "status": "error",