From 725ebc028430540f91cf0866f1545d480d77cfdc Mon Sep 17 00:00:00 2001 From: Christoph Zimmermann <40485189+chrisAtRedis@users.noreply.github.com> Date: Fri, 2 Oct 2020 07:15:18 +0200 Subject: [PATCH] Fixed syntax warning in line #48 Fixed warning for Python 3.8.5 --- redisgraph/query_result.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)