Now that bug is fixed. Try2
This commit is contained in:
parent
1167a1e8ac
commit
ab1edaa530
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user