ass2mks: Add default mime type
This commit is contained in:
parent
5497f01009
commit
712baf2b4f
|
@ -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"],
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue