From b3578a4fa5b92544906c61ecf2d961008049b2eb Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 4 Jun 2022 14:54:32 +0530 Subject: [PATCH] ... --- kitty/utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kitty/utils.py b/kitty/utils.py index 6abccf082..ccbb2d626 100644 --- a/kitty/utils.py +++ b/kitty/utils.py @@ -911,9 +911,7 @@ def is_kitty_gui_cmdline(*cmd: str) -> bool: return False if s == '+': if cmd[1] == '+': - if len(cmd) > 2 and cmd[2] == 'open': - return True - return False + return len(cmd) > 2 and cmd[2] == 'open' return cmd[1] == '+open' return True