/opt/imh-python/lib/python3.9/email/mime/__pycache__
Edit: /opt/imh-python/lib/python3.9/email/mime/__pycache__/audio.cpython-39.pyc (2635B)
a
cæh³
ã @ 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 |ƒ}tjD ](}|||ƒ}|durt |d ¡ S qdS )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)ÚdataZhdrZfakefileZtestfnÚres© r ú1/opt/imh-python/lib/python3.9/email/mime/audio.pyÚ_whatsnd s
r
c @ s&