fixes related to not set subscribeTopic and logger in objects

This commit is contained in:
2019-07-15 15:57:39 +01:00
parent ab31aea3e0
commit 21555736f6
3 changed files with 4 additions and 3 deletions

View File

@ -13,7 +13,8 @@ newDatapoints = []
for dp in datapoints:
ndp = type(dp)()
for k,v in dp.__dict__.items():
ndp.__dict__[k] = v
if k != 'logger':
ndp.__dict__[k] = v
newDatapoints.append(ndp)
RegisterDatapoint.checkRegisterList(newDatapoints, reset=True)