Skip to content

Commit

Permalink
typing
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Oct 4, 2023
1 parent fe4c614 commit a35513a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyhap/hap_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ def _pair_verify_two(self, tlv_objects: Dict[bytes, bytes]) -> None:
self.client_address,
client_uuid,
raw_public_key.hex(),
self.state.paired_clients,
{uuid: key.hex() for uuid, key in self.state.paired_clients.items()},
)
self._send_authentication_error_tlv_response(HAP_TLV_STATES.M4)
return
Expand Down
2 changes: 1 addition & 1 deletion pyhap/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(
self.setup_id = util.generate_setup_id()

self.config_version = DEFAULT_CONFIG_VERSION
self.paired_clients = {}
self.paired_clients: Dict[UUID, bytes] = {}
self.client_properties = {}

self.private_key = ed25519.Ed25519PrivateKey.generate()
Expand Down

0 comments on commit a35513a

Please sign in to comment.