We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c09044 commit 15e0125Copy full SHA for 15e0125
1 file changed
redisgraph/query_result.py
@@ -54,7 +54,8 @@ def _retrieve_data_from_statistics(self, statistics):
54
@staticmethod
55
def _get_value(prop, statistics):
56
for stat in statistics:
57
- stat = stat.decode()
+ if isinstance(stat,bytes):
58
+ stat = stat.decode()
59
if prop in stat:
60
return float(stat.split(': ')[1].split(' ')[0])
61
0 commit comments