summaryrefslogtreecommitdiff
path: root/libmat2/harmless.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmat2/harmless.py')
-rw-r--r--libmat2/harmless.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmat2/harmless.py b/libmat2/harmless.py
index 8688a9d..42b6eda 100644
--- a/libmat2/harmless.py
+++ b/libmat2/harmless.py
@@ -1,5 +1,5 @@
1import shutil 1import shutil
2from typing import Union 2from typing import Union, Dict
3from . import abstract 3from . import abstract
4 4
5 5
@@ -7,7 +7,7 @@ class HarmlessParser(abstract.AbstractParser):
7 """ This is the parser for filetypes that can not contain metadata. """ 7 """ This is the parser for filetypes that can not contain metadata. """
8 mimetypes = {'text/plain', 'image/x-ms-bmp'} 8 mimetypes = {'text/plain', 'image/x-ms-bmp'}
9 9
10 def get_meta(self) -> dict[str, Union[str, dict]]: 10 def get_meta(self) -> Dict[str, Union[str, Dict]]:
11 return dict() 11 return dict()
12 12
13 def remove_all(self) -> bool: 13 def remove_all(self) -> bool: