Now that bug is fixed. Try2

This commit is contained in:
Anne de Jong 2021-06-14 16:57:20 +02:00
parent 1167a1e8ac
commit ab1edaa530

View File

@ -19,8 +19,8 @@ class DaqChannel:
def __post_init__(self):
if len(self.channel_metadata) > 0:
meta = json.loads(self.channel_metadata)
for key,val in meta.items():
setattr(self, key, val)
if '_qty' in meta:
self._qty = Qty.from_json(meta['_qty'])
else:
self._qty = SIQtys.default