From a0c97b25c46af07408ae1fd364090077fe600538 Mon Sep 17 00:00:00 2001 From: Jason Smalls Date: Tue, 11 Jul 2023 21:35:04 +0200 Subject: [PATCH] Add a variant mimetype for bmp --- libmat2/harmless.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmat2/harmless.py b/libmat2/harmless.py index 42b6eda..7409784 100644 --- a/libmat2/harmless.py +++ b/libmat2/harmless.py @@ -5,7 +5,7 @@ from . import abstract class HarmlessParser(abstract.AbstractParser): """ This is the parser for filetypes that can not contain metadata. """ - mimetypes = {'text/plain', 'image/x-ms-bmp'} + mimetypes = {'text/plain', 'image/x-ms-bmp', 'image/bmp'} def get_meta(self) -> Dict[str, Union[str, Dict]]: return dict()