Browse Source

[wistia] Use centralized sorting

totalwebcasting
Philipp Hagemeister 11 years ago
parent
commit
539179f45b
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/wistia.py

+ 2
- 1
youtube_dl/extractor/wistia.py View File

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