diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-01-06 01:33:52 -0800 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-01-06 01:33:52 -0800 |
commit | bb2d40ac83f222678ed5b4265355b9f146f2ba3e (patch) | |
tree | 836262b08777a3ad9e23c700d1c4f81d45ffe73c /youtube/playlist.py | |
parent | eea16e5ac32696ea711fbc3846c113ccdfd2928b (diff) | |
download | yt-local-bb2d40ac83f222678ed5b4265355b9f146f2ba3e.tar.lz yt-local-bb2d40ac83f222678ed5b4265355b9f146f2ba3e.tar.xz yt-local-bb2d40ac83f222678ed5b4265355b9f146f2ba3e.zip |
rename env['fields'] to env['parameters'] and rename fields to parameters in general
Diffstat (limited to 'youtube/playlist.py')
-rw-r--r-- | youtube/playlist.py | 2 |
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": |