diff options
Diffstat (limited to 'jsonpath_rw/jsonpath.py')
-rw-r--r-- | jsonpath_rw/jsonpath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonpath_rw/jsonpath.py b/jsonpath_rw/jsonpath.py index 204b54c..3c491d0 100644 --- a/jsonpath_rw/jsonpath.py +++ b/jsonpath_rw/jsonpath.py @@ -272,7 +272,7 @@ class Where(JSONPath): self.right = right def find(self, data): - return [subdata for subdata in self.left.find(data) if self.right.find(data)] + return [subdata for subdata in self.left.find(data) if self.right.find(subdata)] def __str__(self): return '%s where %s' % (self.left, self.right) |