From a3010018d41780ecf8b45acc988b92ceefffcee9 Mon Sep 17 00:00:00 2001 From: Guy Van Sanden Date: Wed, 12 Feb 2025 11:28:43 +0100 Subject: [PATCH] Debug --- server/src/tellmesrv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/tellmesrv.py b/server/src/tellmesrv.py index 1d653ae..43ad218 100644 --- a/server/src/tellmesrv.py +++ b/server/src/tellmesrv.py @@ -36,7 +36,7 @@ def sendmessage(target, message): response = json.loads(responsejson) for chatitem in response['resp']['chatItems']: pprint(chatitem['chatItem']) - # print("Message %s sent over websocket to %s" % (chatitem['content']['msgContent']['text'], target)) + print("Message %s sent over websocket to %s" % (chatitem['chatItem']['content']['msgContent']['text'], target)) # ws.close() # Close WebSocket connection # print(response) ws.close()