Skip to content

A feature-rich command-line audio/video downloader

[ooyala] Style fix

Jaime Marquínez Ferrándiz5268a05e4722
diff --git a/youtube_dl/extractor/ooyala.py b/youtube_dl/extractor/ooyala.py
index 0b049274ad..c0e6d643d5 100644
--- a/youtube_dl/extractor/ooyala.py
+++ b/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,