protocol: add missing space for NordicData's str()

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
pull/204/head
Peter Hutterer 2019-08-28 11:44:07 +10:00
parent 827ccbfa07
commit 6c0ddd96bc
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ class NordicData(list):
raise UnexpectedDataError(bs, f'Invalid data: length field {self.length}, data length is {len(data)}')
def __str__(self):
return f'{self.name if self.name else "UNKNOWN"}{self.opcode:02x} / {self.length:02x} / {as_hex_string(self)}'
return f'{self.name if self.name else "UNKNOWN"} {self.opcode:02x} / {self.length:02x} / {as_hex_string(self)}'
class ProtocolError(Exception):