Skip to content

Commit

Permalink
fixed type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Loftus committed Jan 28, 2024
1 parent ec5dde7 commit 26ed31f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion core/addon_communication/ipc_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""


Expand Down
1 change: 0 additions & 1 deletion nvda/nvda.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 26ed31f

Please sign in to comment.