From 8fbec2dfd521e1bf07817e671d0fcd171317a834 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 2 Jun 2022 08:07:53 +0530 Subject: [PATCH] remove unused arg --- kitty/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty/main.py b/kitty/main.py index 8b1cb9cd6..3562edfdc 100644 --- a/kitty/main.py +++ b/kitty/main.py @@ -231,7 +231,7 @@ def ensure_macos_locale() -> None: @contextmanager -def setup_profiling(args: CLIOptions) -> Generator[None, None, None]: +def setup_profiling() -> Generator[None, None, None]: try: from .fast_data_types import start_profiler, stop_profiler do_profile = True @@ -410,7 +410,7 @@ def _main() -> None: global_watchers.set_extra(cli_opts.watcher) log_error('The --watcher command line option has been deprecated in favor of using the watcher option in kitty.conf') try: - with setup_profiling(cli_opts): + with setup_profiling(): # Avoid needing to launch threads to reap zombies run_app(opts, cli_opts, bad_lines) finally: