From 26ed31f1624d2af68a01931da6800c21557f06ff Mon Sep 17 00:00:00 2001 From: Colton <70598503+C-Loftus@users.noreply.github.com> Date: Sat, 27 Jan 2024 22:08:11 -0500 Subject: [PATCH] fixed type issue --- core/addon_communication/ipc_client.py | 2 +- nvda/nvda.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/addon_communication/ipc_client.py b/core/addon_communication/ipc_client.py index e8ca516..080d71a 100644 --- a/core/addon_communication/ipc_client.py +++ b/core/addon_communication/ipc_client.py @@ -12,7 +12,7 @@ class Actions: def addon_server_endpoint() -> Tuple[str, str, str]: """Returns the address and port of the addon server""" - def send_ipc_commands(commands: list[str]): + def send_ipc_commands(commands: list[str] | str): """Sends a command to the screenreader""" diff --git a/nvda/nvda.py b/nvda/nvda.py index ea76430..13c357a 100644 --- a/nvda/nvda.py +++ b/nvda/nvda.py @@ -153,4 +153,3 @@ def restore_interrupt_setting(_): if os.name == 'nt': speech_system.register("pre:phrase", disable_interrupt) speech_system.register("post:phrase", restore_interrupt_setting) -