aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/channel.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-01-06 01:33:52 -0800
committerJames Taylor <user234683@users.noreply.github.com>2019-01-06 01:33:52 -0800
commitbb2d40ac83f222678ed5b4265355b9f146f2ba3e (patch)
tree836262b08777a3ad9e23c700d1c4f81d45ffe73c /youtube/channel.py
parenteea16e5ac32696ea711fbc3846c113ccdfd2928b (diff)
downloadyt-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/channel.py')
-rw-r--r--youtube/channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/channel.py b/youtube/channel.py
index d4a1d47..087c13c 100644
--- a/youtube/channel.py
+++ b/youtube/channel.py
@@ -367,7 +367,7 @@ def get_channel_page(env, start_response):
except IndexError:
tab = 'videos'
- parameters = env['fields']
+ parameters = env['parameters']
page_number = int(common.default_multi_get(parameters, 'page', 0, default='1'))
sort = common.default_multi_get(parameters, 'sort', 0, default='3')
view = common.default_multi_get(parameters, 'view', 0, default='1')