mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 09:26:37 +03:00
Fix mimetype for mp3 files
It was incorrectly audio/mp3, when audio/mpeg is the correct one. This was causing sending mp3 voice notes to not work.
This commit is contained in:
parent
ff8349ff3f
commit
5e5fe5876a
|
@ -43,7 +43,7 @@ mimetypes.add_type('video/mp4', '.mp4')
|
|||
mimetypes.add_type('video/quicktime', '.mov')
|
||||
mimetypes.add_type('video/avi', '.avi')
|
||||
|
||||
mimetypes.add_type('audio/mp3', '.mp3')
|
||||
mimetypes.add_type('audio/mpeg', '.mp3')
|
||||
mimetypes.add_type('audio/m4a', '.m4a')
|
||||
mimetypes.add_type('audio/aac', '.aac')
|
||||
mimetypes.add_type('audio/ogg', '.ogg')
|
||||
|
|
Loading…
Reference in New Issue
Block a user