summaryrefslogtreecommitdiff
path: root/libmat2/exiftool.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmat2/exiftool.py')
-rw-r--r--libmat2/exiftool.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmat2/exiftool.py b/libmat2/exiftool.py
index d18b1fb..2e83f13 100644
--- a/libmat2/exiftool.py
+++ b/libmat2/exiftool.py
@@ -1,3 +1,4 @@
1import functools
1import json 2import json
2import logging 3import logging
3import os 4import os
@@ -56,6 +57,7 @@ class ExiftoolParser(abstract.AbstractParser):
56 return False 57 return False
57 return True 58 return True
58 59
60@functools.lru_cache()
59def _get_exiftool_path() -> str: # pragma: no cover 61def _get_exiftool_path() -> str: # pragma: no cover
60 possible_pathes = { 62 possible_pathes = {
61 '/usr/bin/exiftool', # debian/fedora 63 '/usr/bin/exiftool', # debian/fedora