From 539179f45bbeecefecfec4cba40dde7c7f4a813c Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Wed, 25 Dec 2013 15:20:14 +0100 Subject: [PATCH] [wistia] Use centralized sorting --- youtube_dl/extractor/wistia.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,