[otBase] fix array-reader to return list, not array.array
Was not noticed because it was for the most part unused.
This commit is contained in:
parent
2496dcf9cc
commit
1fd2a44bbf
@ -146,7 +146,7 @@ class OTTableReader(object):
|
||||
value = array.array(typecode, self.data[pos:newpos])
|
||||
if sys.byteorder != "big": value.byteswap()
|
||||
self.pos = newpos
|
||||
return value
|
||||
return value.tolist()
|
||||
|
||||
def readInt8(self):
|
||||
return self.readValue("b", staticSize=1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user