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.")