]> gitweb @ CieloNegro.org - youtube-dl.git/blobdiff - youtube_dl/extractor/videolecturesnet.py
Merge branch 'dcn' of https://github.com/remitamine/youtube-dl into remitamine-dcn
[youtube-dl.git] / youtube_dl / extractor / videolecturesnet.py
index d46234856d55aeef3e2e94943b25c5b739969982..d6a7eb2033e58a92df09be6c042c91d6e932f8b7 100644 (file)
@@ -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')),