diff options
| author | jvoisin | 2023-01-31 20:42:39 +0100 |
|---|---|---|
| committer | jvoisin | 2023-01-31 20:42:39 +0100 |
| commit | e41390eb64eaf72fd1b9914221eaf22801812521 (patch) | |
| tree | 42cc3ce662d18987ce47ea248f73bb261a35d4a2 /libmat2/exiftool.py | |
| parent | 66a36f6b15b0a9fdc792aabe3d0956b3fc680464 (diff) | |
Explicitly pass a parameter to functools.lru_cache
Diffstat (limited to 'libmat2/exiftool.py')
| -rw-r--r-- | libmat2/exiftool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat2/exiftool.py b/libmat2/exiftool.py index 5979a64..2b91ac2 100644 --- a/libmat2/exiftool.py +++ b/libmat2/exiftool.py | |||
| @@ -67,7 +67,7 @@ class ExiftoolParser(abstract.AbstractParser): | |||
| 67 | return False | 67 | return False |
| 68 | return True | 68 | return True |
| 69 | 69 | ||
| 70 | @functools.lru_cache | 70 | @functools.lru_cache(maxsize=None) |
| 71 | def _get_exiftool_path() -> str: # pragma: no cover | 71 | def _get_exiftool_path() -> str: # pragma: no cover |
| 72 | which_path = shutil.which('exiftool') | 72 | which_path = shutil.which('exiftool') |
| 73 | if which_path: | 73 | if which_path: |
