Răsfoiți Sursa

[ooyala] Style fix

Jaime Marquínez Ferrándiz 10 ani în urmă
părinte
comite
5268a05e47
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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')),
                     'abr': int_or_none(stream.get('audio_bitrate')),
                     'vbr': int_or_none(stream.get('video_bitrate')),
                     'vbr': int_or_none(stream.get('video_bitrate')),
                 })
                 })
-            if len(formats):
+            if formats:
                 return {
                 return {
                     'id': embedCode,
                     'id': embedCode,
                     'formats': formats,
                     'formats': formats,