summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2013-12-25 15:20:14 +0100
committerPhilipp Hagemeister <[email protected]>2013-12-25 15:20:14 +0100
commit539179f45bbeecefecfec4cba40dde7c7f4a813c (patch)
tree2e332e010f95641d57943afb81e52fa10954f57f
parent7217e148fb03ea27edb12a878c959ebefec4c6c3 (diff)
downloadyoutube-dl-539179f45bbeecefecfec4cba40dde7c7f4a813c.tar.gz
youtube-dl-539179f45bbeecefecfec4cba40dde7c7f4a813c.zip
[wistia] Use centralized sorting
-rw-r--r--youtube_dl/extractor/wistia.py3
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,