This commit is contained in:
2024-07-24 16:08:24 +03:00
parent 13639ed678
commit 0554c3ed4b
2 changed files with 7 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ def set_focus(foc_val):
sock.send("goto={:g}".format(foc_val))
resp = sock.recv(20)
if resp != "OK\n":
if resp != "OK":
sock.close()
return 1