From f353131b44a8920cac0da90f93ee64133f1b31e5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 15 Mar 2020 07:54:55 +0530 Subject: [PATCH] Fix #2433 --- kitty/launch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/launch.py b/kitty/launch.py index c0395d01e..bc3097083 100644 --- a/kitty/launch.py +++ b/kitty/launch.py @@ -261,7 +261,7 @@ def launch(boss: Boss, opts: LaunchCLIOptions, args: List[str], target_tab: Opti set_primary_selection(stdin) else: tab = tab_for_window(boss, opts, target_tab) - if tab: + if tab is not None: new_window: Window = tab.new_window(env=env or None, **kw) if opts.keep_focus and active: boss.set_active_window(active, switch_os_window_if_needed=True)