mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-22 21:23:44 +00:00
Compat for python < 3.8
This commit is contained in:
parent
e969dea3b7
commit
0e483f81ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue