From d1b2f9c6a90b6d8418c7e5b4de45ab6205745e62 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 31 Jul 2020 20:03:04 +0530 Subject: [PATCH] Dont use SystemExit if kitty exe not found --- kitty/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/constants.py b/kitty/constants.py index 3d52a58d5..a8431b35e 100644 --- a/kitty/constants.py +++ b/kitty/constants.py @@ -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')