summaryrefslogtreecommitdiff
path: root/libmat2/exiftool.py
diff options
context:
space:
mode:
authorjvoisin2022-08-05 20:43:37 +0200
committerjvoisin2022-08-05 20:43:37 +0200
commit2dd196c2c7425a37560e89e2a0e61b2e27467b6f (patch)
tree74b07b2bf4f1a5d49147221f6e084d265334e4c6 /libmat2/exiftool.py
parent34eb878aaee6bcb088d0a4d1d9844805358fbd29 (diff)
Make use of cache to get binary paths
Diffstat (limited to '')
-rw-r--r--libmat2/exiftool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat2/exiftool.py b/libmat2/exiftool.py
index eb65b2a..933ea63 100644
--- a/libmat2/exiftool.py
+++ b/libmat2/exiftool.py
@@ -70,7 +70,7 @@ class ExiftoolParser(abstract.AbstractParser):
70 return False 70 return False
71 return True 71 return True
72 72
73@functools.lru_cache() 73@functools.lru_cache
74def _get_exiftool_path() -> str: # pragma: no cover 74def _get_exiftool_path() -> str: # pragma: no cover
75 which_path = shutil.which('exiftool') 75 which_path = shutil.which('exiftool')
76 if which_path: 76 if which_path: