Skip to content

Commit

Permalink
Fixed syntax warning in line #48 (#92)
Browse files Browse the repository at this point in the history
Fixed warning for Python 3.8.5
  • Loading branch information
chrisAtRedisLabs authored Oct 2, 2020
1 parent ecaa9fb commit 5680907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redisgraph/query_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5680907

Please sign in to comment.