wago get multiple channels throws exception
The wago is throwing an error when I try to get more than one value at the same time:
BLISS [1]: wl = config.get('wcid31l')
BLISS [2]: wl.get('pot1cur')
Out [2]: 0.00030517578125
BLISS [3]: wl.get('pot1cur', 'pot1vol')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/users/blissadm/local/bliss.git/bliss/config/conductor/client.py", line 60, in func
return f(self,*args,**keys)
File "/users/blissadm/local/bliss.git/bliss/controllers/wago.py", line 568, in get
return self.controller.get(*args, **kwargs)
File "/users/blissadm/local/bliss.git/bliss/controllers/wago.py", line 397, in get
return [num for elem in ret for num in elem]
TypeError: 'float' object is not iterable
'float' object is not iterable
BLISS [4]: