summaryrefslogtreecommitdiff
path: root/libmat2/exiftool.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmat2/exiftool.py')
-rw-r--r--libmat2/exiftool.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmat2/exiftool.py b/libmat2/exiftool.py
index cdfce3d..5979a64 100644
--- a/libmat2/exiftool.py
+++ b/libmat2/exiftool.py
@@ -4,7 +4,7 @@ import logging
4import os 4import os
5import shutil 5import shutil
6import subprocess 6import subprocess
7from typing import Union 7from typing import Union, Set, Dict
8 8
9from . import abstract 9from . import abstract
10from . import bubblewrap 10from . import bubblewrap
@@ -15,9 +15,9 @@ class ExiftoolParser(abstract.AbstractParser):
15 from a import file, hence why several parsers are re-using its `get_meta` 15 from a import file, hence why several parsers are re-using its `get_meta`
16 method. 16 method.
17 """ 17 """
18 meta_allowlist = set() # type: set[str] 18 meta_allowlist = set() # type: Set[str]
19 19
20 def get_meta(self) -> dict[str, Union[str, dict]]: 20 def get_meta(self) -> Dict[str, Union[str, Dict]]:
21 try: 21 try:
22 if self.sandbox: 22 if self.sandbox:
23 out = bubblewrap.run([_get_exiftool_path(), '-json', 23 out = bubblewrap.run([_get_exiftool_path(), '-json',