diff --git a/karton/core/task.py b/karton/core/task.py index f24824a..51cba9a 100644 --- a/karton/core/task.py +++ b/karton/core/task.py @@ -242,7 +242,7 @@ def matches_filters(self, filters: List[Dict[str, Any]]) -> bool: # set the flag if all consumer filter fields match the task header. # It will be set to True only if at least one filter matches the header - matches |= all(m for m in matched) + matches |= all(matched) return matches