diff options
-rw-r--r-- | bot/pagination.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/pagination.py b/bot/pagination.py index 35870c040..e82763912 100644 --- a/bot/pagination.py +++ b/bot/pagination.py @@ -410,7 +410,7 @@ class ImagePaginator(Paginator): log.debug("Got last page reaction, but we're on the last page - ignoring") continue - current_page = len(paginator.pages - 1) + current_page = len(paginator.pages) - 1 reaction_type = "last" # Previous reaction press - [:arrow_left: ] |