diff options
author | James Taylor <user234683@users.noreply.github.com> | 2021-08-07 14:36:11 -0700 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-08-09 12:00:18 -0500 |
commit | bee14ea9ea2a3e78f70b1a68c965d15297a6ede8 (patch) | |
tree | 4dc3108d0db8daab82da2a3756f7beb08a878724 /youtube/templates/comments_page.html | |
parent | 7720f3bde530f283bd4f2f56ca8382f2ceed18e0 (diff) | |
download | yt-local-bee14ea9ea2a3e78f70b1a68c965d15297a6ede8.tar.lz yt-local-bee14ea9ea2a3e78f70b1a68c965d15297a6ede8.tar.xz yt-local-bee14ea9ea2a3e78f70b1a68c965d15297a6ede8.zip |
Comments: Fix exceptions when ctoken metadata are missing (None)
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube/templates/comments_page.html')
-rw-r--r-- | youtube/templates/comments_page.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/templates/comments_page.html b/youtube/templates/comments_page.html index 09230f5..3764b10 100644 --- a/youtube/templates/comments_page.html +++ b/youtube/templates/comments_page.html @@ -1,4 +1,4 @@ -{% set page_title = ('Replies' if comments_info['is_replies'] else 'Comments page ' + comments_info['page_number']) %} +{% set page_title = ('Replies' if comments_info['is_replies'] else 'Comments page ' + comments_info['page_number']|string) %} {% import "comments.html" as comments with context %} {% if not slim %} |