Skip to content

Commit ea36ef4

Browse files
committed
Set "Text" as a default WMA mime type when no other is found
1 parent 7e86a2e commit ea36ef4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mathics/eval/import_export/importexport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,4 +702,4 @@ def infer_file_format(filename: str) -> Optional[str]:
702702
a format.
703703
"""
704704
file_extension = eval_FileExtension(filename).lower()
705-
return FILE_EXTENSION_MAP.get(file_extension)
705+
return FILE_EXTENSION_MAP.get(file_extension, "Text")

0 commit comments

Comments
 (0)