Fix string repr

This commit is contained in:
Jesse Hills 2022-09-29 11:41:55 +13:00
parent 8560a3611c
commit a58044bbe6
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -765,7 +765,7 @@ def _long_uuid(uuid: str) -> str:
def _join_split_uuid(value: List[int]) -> str: def _join_split_uuid(value: List[int]) -> str:
"""Convert a high/low uuid into a single string.""" """Convert a high/low uuid into a single string."""
return uuid.UUID(int=(value[0] << 64) | value[1]).__str__() return str(uuid.UUID(int=(value[0] << 64) | value[1]))
def _convert_bluetooth_le_service_uuids(value: List[str]) -> List[str]: def _convert_bluetooth_le_service_uuids(value: List[str]) -> List[str]: