diff options
Diffstat (limited to 'libmat2/exiftool.py')
| -rw-r--r-- | libmat2/exiftool.py | 6 |
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 | |||
| 4 | import os | 4 | import os |
| 5 | import shutil | 5 | import shutil |
| 6 | import subprocess | 6 | import subprocess |
| 7 | from typing import Union | 7 | from typing import Union, Set, Dict |
| 8 | 8 | ||
| 9 | from . import abstract | 9 | from . import abstract |
| 10 | from . import bubblewrap | 10 | from . 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', |
