mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-22 12:07:15 +03:00
Dont use SystemExit if kitty exe not found
This commit is contained in:
parent
40dee44978
commit
d1b2f9c6a9
@ -73,7 +73,7 @@ def kitty_exe() -> str:
|
||||
rpath = candidate
|
||||
break
|
||||
else:
|
||||
raise SystemExit('kitty binary not found')
|
||||
raise RuntimeError('kitty binary not found')
|
||||
return os.path.join(rpath, 'kitty')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user