Update tcpserver.py

master
Zhengyu Peng 2 years ago
parent bf8934a202
commit 4c488d7434

@ -67,7 +67,7 @@ class TCPServer(Thread):
pass
else:
while True:
self.cmd_queue.put('standby')
self.cmd_queue.put('standby:')
# Wait for a connection
# print('wait for a connection')
# self.status.emit(self.LISTEN, '')
@ -95,5 +95,5 @@ class TCPServer(Thread):
finally:
self.tcp_socket.close()
self.cmd_queue.put('standby')
self.cmd_queue.put('standby:')
print('exit')

Loading…
Cancel
Save