From b854dab314267bd7f4677520b83a4e8abd0a1a6a Mon Sep 17 00:00:00 2001 From: James Taylor Date: Sun, 7 Jul 2019 17:46:07 -0700 Subject: watch.py regression: fix error page --- youtube/watch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube/watch.py') 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"]), -- cgit v1.2.3