Problem using cmd:all using Websockets
-
Dear all,
I try to use the cmd:all command using Websocket to retrieve all values at connexion in my custom UI.
After digging into the source code, I managed to understand that there is a problem in the current master code on the Github:
In evok.py, the line 113:
result += map(lambda dev: dev.full(), Devices.by_int(dev))
returns this exception when cmd:all command is fired:
Exc: unsupported operand type(s) for +=: 'dict' and 'list'
Could you please help me to correct this, as I really need this functionnality ? I would like not to have to use the REST API to do that, as I do everything using Websockets.
Best regards.
Olivier.
-
Hi Olivier,
The issue should now be fixed in the latest commit. Please see if it works for you, thank you for reporting the bug.
Kind regards,
Tom -
Hi Tom,
great ! Problem fixed !
Thanks for your fast answer and support.
Regards.
Olivier.