Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion WayKey/library/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down