From 0e483f81acead1ff6f3d6149e0afcc74e54ffa3a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 5 Feb 2021 09:23:54 +0530 Subject: [PATCH] Compat for python < 3.8 --- kitty/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/utils.py b/kitty/utils.py index f9e7593a6..cbaeb845b 100644 --- a/kitty/utils.py +++ b/kitty/utils.py @@ -538,7 +538,7 @@ def system_paths_on_macos() -> List[str]: return entries -@lru_cache +@lru_cache(maxsize=32) def find_exe(name: str) -> Optional[str]: import shutil ans = shutil.which(name)