aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2020-02-23 16:13:10 +1000
committerGravatar scragly <[email protected]>2020-02-23 16:13:10 +1000
commita18f7ede045f10c6a6a06cae36b9450f869cf5ca (patch)
tree58fc868c92dec0350a0f397de04dbc921086f93c
parentSuppress NotFound on react clear, tidy imports. (diff)
Define `_count` in `__init__`.
-rw-r--r--bot/pagination.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/pagination.py b/bot/pagination.py
index d6bfe6205..b6525c2d0 100644
--- a/bot/pagination.py
+++ b/bot/pagination.py
@@ -301,6 +301,7 @@ class ImagePaginator(Paginator):
self._current_page = [prefix]
self.images = []
self._pages = []
+ self._count = 0
def add_line(self, line: str = '', *, empty: bool = False) -> None:
"""Adds a line to each page."""