From a0d8d704df5ff3098b86e741f238d53de1711198 Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Mon, 25 Jan 2016 01:01:15 +0800 Subject: [PATCH] [utils] Reorder items in mimetype2ext alphabetically --- youtube_dl/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 178d1dcb3..c63b61598 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -1828,11 +1828,11 @@ def mimetype2ext(mt): _, _, res = mt.rpartition('/') return { - 'x-ms-wmv': 'wmv', - 'x-mp4-fragmented': 'mp4', - 'ttml+xml': 'ttml', '3gpp': '3gp', + 'ttml+xml': 'ttml', 'x-flv': 'flv', + 'x-mp4-fragmented': 'mp4', + 'x-ms-wmv': 'wmv', }.get(res, res) -- 2.39.5