fix writing of property values
This commit is contained in:
parent
2c2013a0fc
commit
167b16e1c9
@ -1027,7 +1027,7 @@ class Property(Record):
|
|||||||
size += self.name.write(stream) # type: ignore
|
size += self.name.write(stream) # type: ignore
|
||||||
if not v:
|
if not v:
|
||||||
if u == 0x0f:
|
if u == 0x0f:
|
||||||
size += write_uint(stream, self.name) # type: ignore
|
size += write_uint(stream, len(self.values)) # type: ignore
|
||||||
size += sum(write_property_value(stream, p) for p in self.values) # type: ignore
|
size += sum(write_property_value(stream, p) for p in self.values) # type: ignore
|
||||||
return size
|
return size
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user