aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/playlist.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/playlist.py')
-rw-r--r--youtube/playlist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/playlist.py b/youtube/playlist.py
index 9e3eb4b..fbb0322 100644
--- a/youtube/playlist.py
+++ b/youtube/playlist.py
@@ -80,7 +80,7 @@ playlist_stat_template = Template('''
<div>$stat</div>''')
def get_playlist_page(env, start_response):
start_response('200 OK', [('Content-type','text/html'),])
- parameters = env['fields']
+ parameters = env['parameters']
playlist_id = parameters['list'][0]
page = parameters.get("page", "1")[0]
if page == "1":