From 48791ee1f1bb775ed27aef4ec4b74559e617b8d3 Mon Sep 17 00:00:00 2001 From: Guy Van Sanden Date: Wed, 12 Feb 2025 11:11:29 +0100 Subject: [PATCH] add output --- server/src/tellmesrv.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/tellmesrv.py b/server/src/tellmesrv.py index bdfbe5c..25cc03c 100644 --- a/server/src/tellmesrv.py +++ b/server/src/tellmesrv.py @@ -33,6 +33,7 @@ def sendmessage(target, message): ws = websocket.create_connection(uri) # Blocking WebSocket connection ws.send(json_command) # Send message to WebSocket response = ws.recv() # Receive response + print("Message %s sent over websocket to %s" % (message, target)) # ws.close() # Close WebSocket connection # print(response) ws.close()