diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-12-25 15:20:14 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-12-25 15:20:14 +0100 |
commit | 539179f45bbeecefecfec4cba40dde7c7f4a813c (patch) | |
tree | 2e332e010f95641d57943afb81e52fa10954f57f /youtube_dl/extractor | |
parent | 7217e148fb03ea27edb12a878c959ebefec4c6c3 (diff) |
[wistia] Use centralized sorting
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/wistia.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/wistia.py b/youtube_dl/extractor/wistia.py index e1748c261..584550455 100644 --- a/youtube_dl/extractor/wistia.py +++ b/youtube_dl/extractor/wistia.py @@ -45,7 +45,8 @@ class WistiaIE(InfoExtractor): 'filesize': a['size'], 'ext': a['ext'], }) - formats.sort(key=lambda a: a['filesize']) + + self._sort_formats(formats) return { 'id': video_id, |