aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/comments_page.html
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2021-08-07 14:36:11 -0700
committerJesús <heckyel@hyperbola.info>2021-08-09 12:00:18 -0500
commitbee14ea9ea2a3e78f70b1a68c965d15297a6ede8 (patch)
tree4dc3108d0db8daab82da2a3756f7beb08a878724 /youtube/templates/comments_page.html
parent7720f3bde530f283bd4f2f56ca8382f2ceed18e0 (diff)
downloadyt-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.html2
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 %}