aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/local_playlist.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-09-15 15:15:23 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-09-15 15:15:23 -0700
commit014da8d3ae842d217e67c1d11d19984187b96258 (patch)
tree1e52873b0c24e0eb5a40d0b4da00d95cf33e931f /youtube/local_playlist.py
parent33a8898656b53bdcd2c45e81f046118c6b290fb2 (diff)
downloadyt-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/local_playlist.py')
-rw-r--r--youtube/local_playlist.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube/local_playlist.py b/youtube/local_playlist.py
index 2375ba2..cc6132a 100644
--- a/youtube/local_playlist.py
+++ b/youtube/local_playlist.py
@@ -110,6 +110,7 @@ def get_local_playlist_page(playlist_name=None):
offset = 50*(page - 1)
videos, num_videos = get_local_playlist_videos(playlist_name, offset=offset, amount=50)
return flask.render_template('local_playlist.html',
+ header_playlist_names = get_playlist_names(),
playlist_name = playlist_name,
videos = videos,
num_pages = math.ceil(num_videos/50),