diff --git a/koneko/ui.py b/koneko/ui.py index ee90212..0ff42da 100644 --- a/koneko/ui.py +++ b/koneko/ui.py @@ -120,6 +120,9 @@ def _prefetch_next_page(self) -> 'IO': # Else next_url won't be set yet self._maybe_join_thread() + if self._data.next_url is None: + return True + # For some reason, if next_url is None, this statement doesn't catch it (???) if not ( self._data.next_url or self._data.next_offset.isdigit()