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