[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:
Behdad Esfahbod 2021-04-30 15:57:53 -06:00
parent 2496dcf9cc
commit 1fd2a44bbf

View File

@ -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)