فهرست منبع

[ooyala] Style fix

Jaime Marquínez Ferrándiz 10 سال پیش
والد
کامیت
5268a05e47
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      youtube_dl/extractor/ooyala.py

+ 1 - 1
youtube_dl/extractor/ooyala.py

@@ -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,