Update tcpserver.py
This commit is contained in:
1 parent
bf8934a202
commit
4c488d7434
1 file changed
+2
-2
@@ -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')
|
||||||
Reference in new issue
Block a user