From e41390eb64eaf72fd1b9914221eaf22801812521 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 31 Jan 2023 20:42:39 +0100 Subject: Explicitly pass a parameter to functools.lru_cache --- 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 5979a64..2b91ac2 100644 --- a/libmat2/exiftool.py +++ b/libmat2/exiftool.py @@ -67,7 +67,7 @@ class ExiftoolParser(abstract.AbstractParser): return False return True -@functools.lru_cache +@functools.lru_cache(maxsize=None) def _get_exiftool_path() -> str: # pragma: no cover which_path = shutil.which('exiftool') if which_path: -- cgit v1.3