From 8d411cac5fe2f43a1550e0bfa6c2f31ee82a6d3d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 26 May 2021 16:46:45 +0530 Subject: [PATCH] ... --- kitty/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/config.py b/kitty/config.py index 7d5ddb112..04efa875e 100644 --- a/kitty/config.py +++ b/kitty/config.py @@ -105,7 +105,7 @@ def handle_clear_all_shortcuts(key: str, val: str, ans: Dict[str, Any]) -> None: @deprecated_handler('x11_hide_window_decorations', 'macos_hide_titlebar') def handle_deprecated_hide_window_decorations_aliases(key: str, val: str, ans: Dict[str, Any]) -> None: if not hasattr(handle_deprecated_hide_window_decorations_aliases, key): - setattr(handle_deprecated_hide_window_decorations_aliases, 'key', True) + setattr(handle_deprecated_hide_window_decorations_aliases, key, True) log_error('The option {} is deprecated. Use hide_window_decorations instead.'.format(key)) if to_bool(val): if is_macos and key == 'macos_hide_titlebar' or (not is_macos and key == 'x11_hide_window_decorations'):