Update tcpserver.py
This commit is contained in:
parent
499682c1f2
commit
3ced88ec84
@ -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…
x
Reference in New Issue
Block a user