]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[ooyala] Style fix
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 7 May 2015 15:04:15 +0000 (17:04 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 7 May 2015 15:04:15 +0000 (17:04 +0200)
youtube_dl/extractor/ooyala.py

index 0b049274ad81810118c385d9c791938313f1ef33..c0e6d643d51982a8f8e0694329f940345c5f1284 100644 (file)
@@ -121,7 +121,7 @@ class OoyalaIE(InfoExtractor):
                     'abr': int_or_none(stream.get('audio_bitrate')),
                     'vbr': int_or_none(stream.get('video_bitrate')),
                 })
-            if len(formats):
+            if formats:
                 return {
                     'id': embedCode,
                     'formats': formats,