projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15495cf
)
[pluralsight] PEP 8
author
Sergey M․
<dstftw@gmail.com>
Sat, 25 Mar 2017 19:34:25 +0000
(
02:34
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 25 Mar 2017 19:34:25 +0000
(
02:34
+0700)
youtube_dl/extractor/pluralsight.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pluralsight.py
b/youtube_dl/extractor/pluralsight.py
index 0c6e036ca6937fbb9870bfaa4533c7197d4431cb..e45d9fe552e2c5af4c3f35182aa8063dcca9e390 100644
(file)
--- a/
youtube_dl/extractor/pluralsight.py
+++ b/
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: