aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2020-03-29 15:00:53 -0700
committerJames Taylor <user234683@users.noreply.github.com>2020-03-29 15:00:53 -0700
commitb5d42e2f3c99f146f3fe4efd0a9062b255ef6d9c (patch)
treeb3fe89cd021982d084fa384efcb6539ca04e2209
parentd1bdbf42690aa4c1d602c729d9ba1b3152b92720 (diff)
downloadyt-local-b5d42e2f3c99f146f3fe4efd0a9062b255ef6d9c.tar.lz
yt-local-b5d42e2f3c99f146f3fe4efd0a9062b255ef6d9c.tar.xz
yt-local-b5d42e2f3c99f146f3fe4efd0a9062b255ef6d9c.zip
Fix regression: local playlist form not shown on channel videos page
-rw-r--r--youtube/channel.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube/channel.py b/youtube/channel.py
index c897a87..394ce1b 100644
--- a/youtube/channel.py
+++ b/youtube/channel.py
@@ -210,6 +210,7 @@ def get_channel_page_general_url(base_url, tab, request, channel_id=None):
if tab == 'videos':
info['number_of_videos'] = number_of_videos
info['number_of_pages'] = math.ceil(number_of_videos/30)
+ info['header_playlist_names'] = local_playlist.get_playlist_names()
if tab in ('videos', 'playlists'):
info['current_sort'] = sort
elif tab == 'search':