diff --git a/redisgraph/query_result.py b/redisgraph/query_result.py index 9eef710..ce79704 100644 --- a/redisgraph/query_result.py +++ b/redisgraph/query_result.py @@ -45,7 +45,7 @@ def __init__(self, graph, response): if isinstance(response[-1], ResponseError): raise response[-1] - if len(response) is 1: + if len(response) == 1: self.parse_statistics(response[0]) else: self.parse_results(response)