From bee14ea9ea2a3e78f70b1a68c965d15297a6ede8 Mon Sep 17 00:00:00 2001
From: James Taylor <user234683@users.noreply.github.com>
Date: Sat, 7 Aug 2021 14:36:11 -0700
Subject: Comments: Fix exceptions when ctoken metadata are missing (None)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Jesús <heckyel@hyperbola.info>
---
 youtube/templates/comments_page.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'youtube/templates/comments_page.html')

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 %}
-- 
cgit v1.2.3