diff options
author | James Taylor <user234683@users.noreply.github.com> | 2020-10-09 21:11:27 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2020-10-09 21:11:27 -0700 |
commit | e182cf82839c7de137b05ba347fed7767d554020 (patch) | |
tree | 94875d2ef37cbcd35dfb81df4ec2917663eb545e | |
parent | cdb3440d1d9f8509a190133d9394715746ddb651 (diff) | |
download | yt-local-e182cf82839c7de137b05ba347fed7767d554020.tar.lz yt-local-e182cf82839c7de137b05ba347fed7767d554020.tar.xz yt-local-e182cf82839c7de137b05ba347fed7767d554020.zip |
playlist: Fix add-to-local-playlist form missing
-rw-r--r-- | youtube/playlist.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube/playlist.py b/youtube/playlist.py index b7167f6..2e2af98 100644 --- a/youtube/playlist.py +++ b/youtube/playlist.py @@ -1,4 +1,4 @@ -from youtube import util, yt_data_extract, proto +from youtube import util, yt_data_extract, proto, local_playlist from youtube import yt_app import base64 @@ -114,6 +114,7 @@ def get_playlist_page(): video_count = 40 return flask.render_template('playlist.html', + header_playlist_names = local_playlist.get_playlist_names(), video_list = info.get('items', []), num_pages = math.ceil(video_count/20), parameters_dictionary = request.args, |