Skip to content

Commit

Permalink
Bug fix in cursor preview
Browse files Browse the repository at this point in the history
  • Loading branch information
technige committed May 4, 2021
1 parent f261cf3 commit 8cda92f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py2neo/client/bolt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ def peek(self, limit):
i = self._last_taken
while i < self._items_len:
response = self._items[i]
records.extend(response.peek(limit - len(records)))
records.extend(response.peek_records(limit - len(records)))
if len(records) == limit:
break
i += 1
Expand Down

0 comments on commit 8cda92f

Please sign in to comment.