From b80b8524e6ad70107cce9f4932db24836b962900 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 7 Jan 2022 12:29:57 +0530 Subject: [PATCH] oops --- kitty/boss.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kitty/boss.py b/kitty/boss.py index dd09b26d9..26bc37a10 100755 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -2220,10 +2220,10 @@ class Boss: if mt.startswith('text/'): launch_cmd += get_editor() + [path] elif mt.startswith('image/'): - launch_cmd = [kitty_exe(), '+kitten', 'icat', '--hold', path] + launch_cmd += [kitty_exe(), '+kitten', 'icat', '--hold', path] else: - launch_cmd = [kitty_exe(), '+runpy', f'print("The file:", {path!r}, "is of unknown type, cannot open it.");' - 'from kitty.utils import hold_till_enter; hold_till_enter(); raise SystemExit(1)'] + launch_cmd += [kitty_exe(), '+runpy', f'print("The file:", {path!r}, "is of unknown type, cannot open it.");' + 'from kitty.utils import hold_till_enter; hold_till_enter(); raise SystemExit(1)'] tab = self.active_tab if tab is not None: