mirror of
https://github.com/espressif/openthread.git
synced 2026-08-10 20:57:47 +00:00
Add Python3 support to thread-cert. (#985)
This commit is contained in:
@@ -511,7 +511,7 @@ class TlvRequest(object):
|
||||
class TlvRequestFactory:
|
||||
|
||||
def parse(self, data, message_info):
|
||||
tlvs = [ord(b) for b in data.read()]
|
||||
tlvs = [b for b in bytearray(data.read())]
|
||||
return TlvRequest(tlvs)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user