diff options
| author | 2019-01-03 16:21:23 +0100 | |
|---|---|---|
| committer | 2019-01-03 16:21:23 +0100 | |
| commit | eb9018699eab385310b64cf2127328c65c38f5aa (patch) | |
| tree | fa42b6feff542f761512d483d0b40c102fa7517f | |
| parent | Fixing empty LinesPaginator and ImagePaginator with '(nothing to display)' an... (diff) | |
Clarifying log.debug messages for empty embeds for both Paginators
| -rw-r--r-- | bot/pagination.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/pagination.py b/bot/pagination.py index 7eaad2a6d..97468857c 100644 --- a/bot/pagination.py +++ b/bot/pagination.py @@ -152,7 +152,7 @@ class LinePaginator(Paginator): current_page = 0 if not lines: - log.debug("No lines to add to paginator, adding empty line") + log.debug("No lines to add to paginator, adding '(nothing to display)' message") lines.append("(nothing to display)") for line in lines: @@ -366,7 +366,7 @@ class ImagePaginator(Paginator): current_page = 0 if not pages: - log.debug("No images to add to paginator, adding empty line") + log.debug("No images to add to paginator, adding '(no images to display)' message") pages.append(("(no images to display)", "")) for text, image_url in pages: |