1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[pluralsight] PEP 8

This commit is contained in:
Sergey M․ 2017-03-26 02:34:25 +07:00
parent 15495cf3e5
commit d212c93d16
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -169,11 +169,10 @@ class PluralsightIE(PluralsightBaseIE):
collection = course['modules'] collection = course['modules']
module, clip = None, None clip = None
for module_ in collection: for module_ in collection:
if name in (module_.get('moduleName'), module_.get('name')): if name in (module_.get('moduleName'), module_.get('name')):
module = module_
for clip_ in module_.get('clips', []): for clip_ in module_.get('clips', []):
clip_index = clip_.get('clipIndex') clip_index = clip_.get('clipIndex')
if clip_index is None: if clip_index is None: