mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[pluralsight] PEP 8
This commit is contained in:
parent
15495cf3e5
commit
d212c93d16
1 changed files with 1 additions and 2 deletions
|
@ -169,11 +169,10 @@ def _real_extract(self, url):
|
||||||
|
|
||||||
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:
|
||||||
|
|
Loading…
Reference in a new issue