aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-07-07 17:46:07 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-07-07 17:46:07 -0700
commitb854dab314267bd7f4677520b83a4e8abd0a1a6a (patch)
treea7e660c7d061a4dce466c8498dd796f25e379dfb /youtube
parent728b2b73d49d9112b8874783e038d901244dd7d8 (diff)
downloadyt-local-b854dab314267bd7f4677520b83a4e8abd0a1a6a.tar.lz
yt-local-b854dab314267bd7f4677520b83a4e8abd0a1a6a.tar.xz
yt-local-b854dab314267bd7f4677520b83a4e8abd0a1a6a.zip
watch.py regression: fix error page
Diffstat (limited to 'youtube')
-rw-r--r--youtube/watch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/watch.py b/youtube/watch.py
index 6a1a199..1972cb4 100644
--- a/youtube/watch.py
+++ b/youtube/watch.py
@@ -156,7 +156,7 @@ def get_watch_page():
comments_html, info = tasks[0].value, tasks[1].value
if isinstance(info, str): # youtube error
- return flask.render_template('error.html', header = html_common.get_header, error_mesage = info)
+ return flask.render_template('error.html', error_message = info)
video_info = {
"duration": util.seconds_to_timestamp(info["duration"]),