Skip to content

Commit

Permalink
Fix typo in parse_field error message
Browse files Browse the repository at this point in the history
  • Loading branch information
worstludditeever authored Feb 23, 2019
1 parent c7762fd commit 3b9822a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlalchemy_elasticquery/elastic_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def parse_field(self, field, field_value):
# TODO: check operators and emit error
operator = list(field_value)[0]
if self.verify_operator(operator) is False:
return "Error: operador no exite", operator
return "Error: operator does not exist", operator
value = field_value[operator]
elif type(field_value) is unicode:
operator = u'equals'
Expand Down

0 comments on commit 3b9822a

Please sign in to comment.