aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/videolecturesnet.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/videolecturesnet.py')
-rw-r--r--youtube_dl/extractor/videolecturesnet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/videolecturesnet.py b/youtube_dl/extractor/videolecturesnet.py
index d46234856..d6a7eb203 100644
--- a/youtube_dl/extractor/videolecturesnet.py
+++ b/youtube_dl/extractor/videolecturesnet.py
@@ -52,7 +52,7 @@ class VideoLecturesNetIE(InfoExtractor):
formats = []
for v in switch.findall('./video'):
proto = v.attrib.get('proto')
- if not proto in ['http', 'rtmp']:
+ if proto not in ['http', 'rtmp']:
continue
f = {
'width': int_or_none(v.attrib.get('width')),