Skip to content

Commit 5680907

Browse files
Fixed syntax warning in line #48 (#92)
Fixed warning for Python 3.8.5
1 parent ecaa9fb commit 5680907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisgraph/query_result.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(self, graph, response):
4545
if isinstance(response[-1], ResponseError):
4646
raise response[-1]
4747

48-
if len(response) is 1:
48+
if len(response) == 1:
4949
self.parse_statistics(response[0])
5050
else:
5151
self.parse_results(response)

0 commit comments

Comments
 (0)