1
0
mirror of synced 2024-11-22 09:14:23 +01:00

Add a variant mimetype for bmp

This commit is contained in:
Jason Smalls 2023-07-11 21:35:04 +02:00 committed by jvoisin
parent 1bcb945360
commit a0c97b25c4

View File

@ -5,7 +5,7 @@ from . import abstract
class HarmlessParser(abstract.AbstractParser): class HarmlessParser(abstract.AbstractParser):
""" This is the parser for filetypes that can not contain metadata. """ """ 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]]: def get_meta(self) -> Dict[str, Union[str, Dict]]:
return dict() return dict()