[commonmistakes] Correct logic error
[youtube-dl] / youtube_dl / extractor / lynda.py
index 26e84970d49463068f032dcf05afbc03e485e859..762cefa34ec35aa172102a5bbe9f78c129bdef92 100644 (file)
@@ -85,6 +85,7 @@ class LyndaIE(SubtitlesInfoExtractor):
                 } for format_id, video_url in prioritized_streams['0'].items()
             ])
 
+        self._check_formats(formats, video_id)
         self._sort_formats(formats)
 
         if self._downloader.params.get('listsubtitles', False):