diff options
| author | 2020-02-23 16:13:10 +1000 | |
|---|---|---|
| committer | 2020-02-23 16:13:10 +1000 | |
| commit | a18f7ede045f10c6a6a06cae36b9450f869cf5ca (patch) | |
| tree | 58fc868c92dec0350a0f397de04dbc921086f93c | |
| parent | Suppress NotFound on react clear, tidy imports. (diff) | |
Define `_count` in `__init__`.
| -rw-r--r-- | bot/pagination.py | 1 |
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.""" |