Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2020-01-16 00:58:25 +00:00
parent f28624fc38
commit 1fe9b5ba14

View file

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