diff --git a/README.md b/README.md index fdacf82..7d922a6 100644 --- a/README.md +++ b/README.md @@ -343,6 +343,7 @@ Please refrain from spam or asking for questions that infringe upon a Service's Shivelight knowhere01 retouching +pandamoon21 ## Licensing diff --git a/devine/core/tracks/attachment.py b/devine/core/tracks/attachment.py index c359629..7fad38e 100644 --- a/devine/core/tracks/attachment.py +++ b/devine/core/tracks/attachment.py @@ -37,7 +37,7 @@ class Attachment: mime_type = { ".ttf": "application/x-truetype-font", ".otf": "application/vnd.ms-opentype" - }.get(path.suffix, mimetypes.guess_type(path)[0]) + }.get(path.suffix.lower(), mimetypes.guess_type(path)[0]) if not mime_type: raise ValueError("The attachment mime-type could not be automatically detected.")