From 5762baeed73a52fd7cb1ee2ed8f58ab6158aaa67 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 24 Apr 2020 19:27:22 +0530 Subject: [PATCH] Typing fixes --- kitty/launch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty/launch.py b/kitty/launch.py index 4761bcd93..005613f35 100644 --- a/kitty/launch.py +++ b/kitty/launch.py @@ -275,8 +275,8 @@ def launch(boss: Boss, opts: LaunchCLIOptions, args: List[str], target_tab: Opti kw['cmd'] = final_cmd if opts.type == 'overlay' and active and not active.overlay_window_id: kw['overlay_for'] = active.id - if opts.stdin_source and opts.stdin_source != 'none': - q = opts.stdin_source + if opts.stdin_source != 'none': + q = str(opts.stdin_source) if opts.stdin_add_formatting: if q in ('@screen', '@screen_scrollback', '@alternate', '@alternate_scrollback'): q = '@ansi_' + q[1:]