diff --git a/server/src/tellmesrv.py b/server/src/tellmesrv.py index 0aea23a..d74b445 100644 --- a/server/src/tellmesrv.py +++ b/server/src/tellmesrv.py @@ -34,9 +34,8 @@ def sendmessage(target, message): ws.send(json_command) # Send message to WebSocket responsejson = ws.recv() # Receive response response = json.loads(responsejson) - pprint(response['resp']) - # for chatitem in response['chatitems']: - # print(chatitem) + for chatitem in response['resp']['chatItems']: + print(chatitem) # print("Message %s sent over websocket to %s" % (chatitem['content'], target)) # ws.close() # Close WebSocket connection # print(response)