From 6c0ddd96bccb9edb17e65de4a223ba30ab666cef Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 28 Aug 2019 11:44:07 +1000 Subject: [PATCH] protocol: add missing space for NordicData's str() Signed-off-by: Peter Hutterer --- tuhi/protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuhi/protocol.py b/tuhi/protocol.py index e3845f2..0485bd6 100644 --- a/tuhi/protocol.py +++ b/tuhi/protocol.py @@ -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):