aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/beatportpro.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/beatportpro.py')
-rw-r--r--youtube_dl/extractor/beatportpro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/beatportpro.py b/youtube_dl/extractor/beatportpro.py
index c3c70fb33..bc201572e 100644
--- a/youtube_dl/extractor/beatportpro.py
+++ b/youtube_dl/extractor/beatportpro.py
@@ -77,7 +77,7 @@ class BeatportProIE(InfoExtractor):
fmt['abr'] = 96
fmt['asr'] = 44100
formats += [fmt]
- formats.sort(key=lambda f: f['preference'])
+ self._sort_formats(formats)
# Get album art as thumbnails
imgs = []