mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 12:42:25 +00:00
oops
This commit is contained in:
parent
ffa63e27ea
commit
b80b8524e6
1 changed files with 3 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue