/snap/core18/2999/usr/lib/python3.6/email/mime/__pycache__
Edit: /snap/core18/2999/usr/lib/python3.6/email/mime/__pycache__/audio.cpython-36.pyc (2594B)
3
Nqi³
ã @ s` d Z dgZddlZddlmZ ddlmZ ddlmZ ddd d d
œZ dd„ Z
G d
d„ deƒZdS )z/Class representing audio/* type MIME documents.Ú MIMEAudioé N)ÚBytesIO)Úencoders)ÚMIMENonMultipartZbasiczx-wavzx-aiff)ZauZwavZaiffZaifcc C sH | dd… }t |ƒ}x.tjD ]$}|||ƒ}|dk rtj|d ƒS qW dS )a Try to identify a sound file type.
sndhdr.what() has a pretty cruddy interface, unfortunately. This is why
we re-do it here. It would be easier to reverse engineer the Unix 'file'
command and use the standard 'magic' file, as shipped with a modern Unix.
Ni r )r ÚsndhdrZtestsÚ_sndhdr_MIMEmapÚget)ÚdataZhdrZfakefileZtestfnZres© r
ú&/usr/lib/python3.6/email/mime/audio.pyÚ_whatsnd s
r c @ s&