From c0d203afde7a6578476a66ca59bf97b845a6cab9 Mon Sep 17 00:00:00 2001 From: pluja Date: Sun, 6 Sep 2020 12:57:27 +0200 Subject: [PATCH] video title on tab when on /watch --- app/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes.py b/app/routes.py index 440b8cf..0fa025c 100644 --- a/app/routes.py +++ b/app/routes.py @@ -323,7 +323,7 @@ def watch(): 'id':id, 'averageRating': str((float(data['average_rating'])/5)*100) } - return render_template("video.html", video=video) + return render_template("video.html", video=video, title='{}'.format(video['title'])) def markupString(string): string = string.replace("\n\n", "

").replace("\n", "
")