Fix name
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
f28624fc38
commit
1fe9b5ba14
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ if status == "":
|
||||||
try:
|
try:
|
||||||
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||||
sock.connect((host, port))
|
sock.connect((host, port))
|
||||||
sock.send(("set " + name + " " + status).encode())
|
sock.send(("set " + tile + " " + status).encode())
|
||||||
sock.close()
|
sock.close()
|
||||||
except IOError:
|
except IOError:
|
||||||
print("ERROR: Unable to send status.")
|
print("ERROR: Unable to send status.")
|
||||||
|
|
Loading…
Add table
Reference in a new issue