Browse Source

[pluralsight] PEP 8

master
Sergey M․ 7 years ago
parent
commit
d212c93d16
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 2 deletions
  1. 3
      youtube_dl/extractor/pluralsight.py

3
youtube_dl/extractor/pluralsight.py

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

Loading…
Cancel
Save