From 4c488d74340740a67cfd296c15721ad484492664 Mon Sep 17 00:00:00 2001 From: Zhengyu Peng Date: Wed, 23 Feb 2022 13:03:35 -0500 Subject: [PATCH] Update tcpserver.py --- software/raspberry pi/tcpserver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/software/raspberry pi/tcpserver.py b/software/raspberry pi/tcpserver.py index 34eaa34..dac0a8f 100644 --- a/software/raspberry pi/tcpserver.py +++ b/software/raspberry pi/tcpserver.py @@ -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')