Dont use SystemExit if kitty exe not found

This commit is contained in:
Kovid Goyal 2020-07-31 20:03:04 +05:30
parent 40dee44978
commit d1b2f9c6a9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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')