Update tcpserver.py

master
Zhengyu Peng 3 years ago
parent bf8934a202
commit 4c488d7434

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

Loading…
Cancel
Save