From: Philipp Hagemeister Date: Wed, 25 Dec 2013 14:20:14 +0000 (+0100) Subject: [wistia] Use centralized sorting X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=539179f45bbeecefecfec4cba40dde7c7f4a813c;p=youtube-dl [wistia] Use centralized sorting --- 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,