From cde35775e4a565fcbff115a539992c6cd251e445 Mon Sep 17 00:00:00 2001 From: Quentin Kaiser <569494+qkaiser@users.noreply.github.com> Date: Wed, 3 Jan 2024 09:03:37 +0100 Subject: [PATCH] Update unblob/processing.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: KrisztiƔn Fekete <1246751+e3krisztian@users.noreply.github.com> --- unblob/processing.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/unblob/processing.py b/unblob/processing.py index bce5062e48..efdce59aed 100644 --- a/unblob/processing.py +++ b/unblob/processing.py @@ -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(