deepgram / kur

Descriptive Deep Learning
Apache License 2.0
814 stars 107 forks source link

Symlink audiotools fix #44

Closed joshgev closed 7 years ago

joshgev commented 7 years ago

As it is currently written, the get_mime_type method of the audiotools module throws an exception when reading symlinks because it doesn't recognize "inode/symlink" as a valid mime type for audio data, even if the target of the link is a valid format.

This pull request introduces a fix for the issue that should work for nested symlinks.