Skip to content

Commit

Permalink
Update unblob/processing.py
Browse files Browse the repository at this point in the history
Co-authored-by: Krisztián Fekete <[email protected]>
  • Loading branch information
qkaiser and e3krisztian authored Jan 3, 2024
1 parent ea1d1b0 commit cde3577
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions unblob/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,7 @@ def _process_task(self, result: TaskResult, task: Task):
should_skip_file = any(
magic.startswith(pattern) for pattern in self._config.skip_magic
)
should_skip_file |= any(
task.path.suffix == suffix for suffix in self._config.skip_extension
)
should_skip_file |= task.path.suffix in self._config.skip_extension

if should_skip_file:
log.debug(
Expand Down

0 comments on commit cde3577

Please sign in to comment.