From 1fe9b5ba1409c447a5612aebfd124c4b899cf5b6 Mon Sep 17 00:00:00 2001 From: fly Date: Thu, 16 Jan 2020 00:58:25 +0000 Subject: [PATCH] Fix name Signed-off-by: fly --- set-status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/set-status.py b/set-status.py index 3272953..b5cebbb 100755 --- a/set-status.py +++ b/set-status.py @@ -86,7 +86,7 @@ if status == "": try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect((host, port)) - sock.send(("set " + name + " " + status).encode()) + sock.send(("set " + tile + " " + status).encode()) sock.close() except IOError: print("ERROR: Unable to send status.")