aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-03-26 02:34:25 +0700
committerSergey M․ <dstftw@gmail.com>2017-03-26 02:34:25 +0700
commitd212c93d16bbb6aeb8645f1dbb15a78f3d9414a8 (patch)
tree6760f86e646fc28cec7848fd8a04d83d3809762e
parent15495cf3e5f8dbab5559936006df77e3ac0a370b (diff)
[pluralsight] PEP 8
-rw-r--r--youtube_dl/extractor/pluralsight.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/pluralsight.py b/youtube_dl/extractor/pluralsight.py
index 0c6e036ca..e45d9fe55 100644
--- 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: