1
0
mirror of https://github.com/HorlogeSkynet/SSHubl.git synced 2025-05-01 16:00:17 +02:00

Improves code consistency in window default assignment

This commit is contained in:
Samuel FORESTIER 2024-07-08 20:58:06 +02:00
parent b3e6dbda1c
commit b62415aac1

@ -360,7 +360,8 @@ def schedule_ssh_connect_password_command( # pylint: disable=too-many-arguments
*,
delay: int = 0,
) -> None:
window = window or sublime.active_window()
if window is None:
window = sublime.active_window()
if delay != 0:
_logger.debug(