ass2mks: Add default mime type

master
Simon Bruder 2021-02-27 12:14:33 +01:00
parent 5497f01009
commit 712baf2b4f
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ for font in fonts:
command.extend(
[
"--attachment-mime-type",
mimetypes.guess_type(font["path"])[0],
mimetypes.guess_type(font["path"])[0] or "font/sfnt",
"--attach-file",
font["path"],
]