You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make list_commands Python3 compatible
Without this change, a call to the `list_commands` request would return
```
{"ws_server_id": "ABC123==", "timestamp": "2020-05-13T10:57:10.267121", "protocol_version": 2, "id": 2, "reply": {"retcode": -1, "out": "", "err": "Object of type dict_keys is not JSON serializable"}}
```
And it's because `keys()` from a dict instance returns a list in python2 and
a an object that is not serializable `json.dumps()`.