diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-09-15 15:15:23 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-09-15 15:15:23 -0700 |
commit | 014da8d3ae842d217e67c1d11d19984187b96258 (patch) | |
tree | 1e52873b0c24e0eb5a40d0b4da00d95cf33e931f /youtube/subscriptions.py | |
parent | 33a8898656b53bdcd2c45e81f046118c6b290fb2 (diff) | |
download | yt-local-014da8d3ae842d217e67c1d11d19984187b96258.tar.lz yt-local-014da8d3ae842d217e67c1d11d19984187b96258.tar.xz yt-local-014da8d3ae842d217e67c1d11d19984187b96258.zip |
Fix list of local playlists not being given on subscriptions page and local playlist page
Diffstat (limited to 'youtube/subscriptions.py')
-rw-r--r-- | youtube/subscriptions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube/subscriptions.py b/youtube/subscriptions.py index 56bdf93..c9638cf 100644 --- a/youtube/subscriptions.py +++ b/youtube/subscriptions.py @@ -1,4 +1,4 @@ -from youtube import util, yt_data_extract, channel +from youtube import util, yt_data_extract, channel, local_playlist from youtube import yt_app import settings @@ -774,6 +774,7 @@ def get_subscriptions_page(): }) return flask.render_template('subscriptions.html', + header_playlist_names = local_playlist.get_playlist_names(), videos = videos, num_pages = math.ceil(number_of_videos_in_db/60), parameters_dictionary = request.args, |