From 2dd196c2c7425a37560e89e2a0e61b2e27467b6f Mon Sep 17 00:00:00 2001 From: jvoisin Date: Fri, 5 Aug 2022 20:43:37 +0200 Subject: Make use of cache to get binary paths --- libmat2/exiftool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmat2/exiftool.py') 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): return False return True -@functools.lru_cache() +@functools.lru_cache def _get_exiftool_path() -> str: # pragma: no cover which_path = shutil.which('exiftool') if which_path: -- cgit v1.3