Skip to content

Commit

Permalink
fix query
Browse files Browse the repository at this point in the history
  • Loading branch information
YoanSallami committed Oct 9, 2023
1 parent b1e2037 commit 5a0eed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hybridagi/hybridstores/program_memory/program_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ def get_program_names(self):
result = self.query(
"MATCH (n:Program) RETURN n.name AS name")
if len(result.result_set) > 0:
for name in result.result_set:
for name in result.result_set[0]:
program_names.append(name)
return program_names

0 comments on commit 5a0eed2

Please sign in to comment.