diff --git a/unblob/processing.py b/unblob/processing.py index e001c44d73..4dc72cc44c 100644 --- a/unblob/processing.py +++ b/unblob/processing.py @@ -95,6 +95,7 @@ class ExtractionConfig: process_num: int = DEFAULT_PROCESS_NUM keep_extracted_chunks: bool = False extract_suffix: str = "_extract" + carve_suffix: str = "_carve" handlers: Handlers = BUILTIN_HANDLERS dir_handlers: DirectoryHandlers = BUILTIN_DIR_HANDLERS verbose: int = 1 @@ -584,7 +585,7 @@ def _extract_chunk(self, file, chunk: ValidChunk): # noqa: C901 CarveReport.from_chunk(self.task.path, inpath, chunk) ) - extract_dir = self.carve_dir / (inpath.name + self.config.extract_suffix) + extract_dir = self.carve_dir / (inpath.name + self.config.carve_suffix) carved_path = inpath if extract_dir.exists():