From 3d80f9752481b8967616698bb3c0c014e6f1527a Mon Sep 17 00:00:00 2001 From: jvoisin Date: Fri, 6 Jul 2018 00:49:17 +0200 Subject: Simplify BMP handling --- libmat2/harmless.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmat2/harmless.py') diff --git a/libmat2/harmless.py b/libmat2/harmless.py index 9032caf..336873c 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 do not contain metadata. """ - mimetypes = {'text/plain', } + mimetypes = {'text/plain', 'image/x-ms-bmp'} def get_meta(self) -> Dict[str, str]: return dict() -- cgit v1.3