direct: fix TypeError caused by py3 division changes

This commit is contained in:
Michael Wass 2021-02-23 17:11:10 -05:00 committed by rdb
parent 778c6ee6be
commit ea49c121a0

View File

@ -125,7 +125,7 @@ class DistributedObject(DistributedObjectBase):
if field is not None:
p = DCPacker()
p.setUnpackData(field.getDefaultValue())
len = p.rawUnpackUint16()/4
len = p.rawUnpackUint16() // 4
for i in range(len):
zone = int(p.rawUnpackUint32())
autoInterests.add(zone)