Skip to content

Commit 8a0df96

Browse files
qkaisere3krisztian
andauthored
Update unblob/processing.py
Co-authored-by: Krisztián Fekete <[email protected]>
1 parent 88a07ba commit 8a0df96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: unblob/processing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ def __init__(
469469
def process(self):
470470
logger.debug("Processing file", path=self.task.path, size=self.size)
471471

472-
if not self.config.skip_extraction and self.carve_dir.exists():
472+
if self.carve_dir.exists() and not self.config.skip_extraction:
473473
# Extraction directory is not supposed to exist, it is usually a simple mistake of running
474474
# unblob again without cleaning up or using --force.
475475
# It would cause problems continuing, as it would mix up original and extracted files,

0 commit comments

Comments
 (0)