[wistia] Use centralized sorting

pull/8/head
Philipp Hagemeister 11 years ago
parent 7217e148fb
commit 539179f45b

@ -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,

Loading…
Cancel
Save