From 3ab3b42e89a07c359f50fe951ed3e370f494853f Mon Sep 17 00:00:00 2001 From: Zhengyu Peng Date: Wed, 23 Feb 2022 11:01:52 -0500 Subject: [PATCH] Update tcpserver.py --- software/raspberry pi/tcpserver.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/software/raspberry pi/tcpserver.py b/software/raspberry pi/tcpserver.py index a906653..34eaa34 100644 --- a/software/raspberry pi/tcpserver.py +++ b/software/raspberry pi/tcpserver.py @@ -1,6 +1,9 @@ #!python # -# 2021 Zhengyu Peng +# TCP server thread +# Monitor the TCP connection and receive commands +# +# 2021 - PRESENT Zhengyu Peng # Website: https://zpeng.me # # ` ` @@ -88,7 +91,6 @@ class TCPServer(Thread): if data: self.cmd_queue.put(data.decode()) else: - self.cmd_queue.put('standby') break finally: