From d8836ad29b46f269418ddb44a9d2f9b304d6d406 Mon Sep 17 00:00:00 2001 From: Nmstr Date: Sat, 23 Aug 2025 01:55:59 +0200 Subject: [PATCH] fixed type hint --- WayKey/library/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WayKey/library/commands.py b/WayKey/library/commands.py index d9d6cda..e4eb767 100644 --- a/WayKey/library/commands.py +++ b/WayKey/library/commands.py @@ -20,7 +20,7 @@ def _send_command(command: dict) -> dict: finally: client.close() -def _convert_code(code: str) -> int or None: +def _convert_code(code: str) -> int | None: """ Convert a key code from string to integer """