|
|
@ -993,8 +993,9 @@ class Property(Record):
|
|
|
|
for _ in range(value_count)]
|
|
|
|
for _ in range(value_count)]
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
values = None
|
|
|
|
values = None
|
|
|
|
if u != 0:
|
|
|
|
# if u != 0:
|
|
|
|
raise InvalidDataError('Malformed property record header')
|
|
|
|
# logger.warning('Malformed property record header; requested modal'
|
|
|
|
|
|
|
|
# ' values but had nonzero count. Ignoring count.')
|
|
|
|
record = Property(name, values, bool(s))
|
|
|
|
record = Property(name, values, bool(s))
|
|
|
|
logger.debug('Record ending at 0x{:x}:\n {}'.format(stream.tell(), record))
|
|
|
|
logger.debug('Record ending at 0x{:x}:\n {}'.format(stream.tell(), record))
|
|
|
|
return record
|
|
|
|
return record
|
|
|
|