Skip to content

Commit

Permalink
Fixed extract operation for negative results
Browse files Browse the repository at this point in the history
  • Loading branch information
JrooTJunior committed Sep 25, 2023
1 parent 9592bbc commit 8ea680a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magic_filter/operations/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __init__(self, extractor: "MagicFilter") -> None:

def resolve(self, value: Any, initial_value: Any) -> Any:
if not isinstance(value, Iterable):
return False
return None

result = []
for item in value:
Expand Down

0 comments on commit 8ea680a

Please sign in to comment.