fixed sdt issue core gui, fixed sdt message sending for python3
This commit is contained in:
parent
b55aad9750
commit
6020496b6f
2 changed files with 6 additions and 2 deletions
|
@ -242,8 +242,8 @@ class Sdt:
|
|||
if self.sock is None:
|
||||
return False
|
||||
try:
|
||||
logging.info("sdt: %s", cmdstr)
|
||||
self.sock.sendall(f"{cmdstr}\n")
|
||||
cmd = f"{cmdstr}\n".encode()
|
||||
self.sock.sendall(cmd)
|
||||
return True
|
||||
except IOError:
|
||||
logging.exception("SDT connection error")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue