Skip to content

Commit

Permalink
Fix bug because of small API change
Browse files Browse the repository at this point in the history
  • Loading branch information
tijmenbaarda committed Jan 5, 2024
1 parent b174b8b commit ce6f238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edpop_explorer/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def adjust_start_record(self, start_number: int) -> None:
This functionality may be ignored by readers that can only load
all records at once; generally these are readers that return lazy
records."""
if self.records is not None:
if self.number_of_results is not None:
raise ReaderError(
"adjust_start_record should not be called after fetching."
)
Expand Down

0 comments on commit ce6f238

Please sign in to comment.