ass2mks: Add default mime type

This commit is contained in:
Simon Bruder 2021-02-27 12:14:33 +01:00
parent 5497f01009
commit 712baf2b4f
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

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