CSN1: fix serialization with unset value

This commit is contained in:
p1-bmu 2021-11-09 10:50:43 +01:00
parent f68c8485ec
commit 315bd60b98
1 changed files with 10 additions and 9 deletions

View File

@ -929,6 +929,7 @@ class CSN1List(CSN1Obj):
def _to_pack_obj(self):
ret = []
if self._val is not None:
for i, val in enumerate(self._val):
Obj = self._list[i]
# transfer offset and value to Obj