Fix easy bug.

This commit is contained in:
INADA Naoki 2013-02-21 16:55:42 +09:00
parent cd3590e785
commit d766820421

View file

@ -341,7 +341,7 @@ class Unpacker(object):
def _fb_unpack(self, execute=EX_CONSTRUCT, write_bytes=None):
typ = TYPE_RESERVED
while typ == TYPE_RESERVED:
typ, n, obj = self._read_header(self, execute, write_bytes)
typ, n, obj = self._read_header(execute, write_bytes)
if execute == EX_READ_ARRAY_HEADER:
if typ != TYPE_ARRAY: