Update tcpserver.py

This commit is contained in:
Zhengyu Peng 2022-02-23 11:01:52 -05:00
parent 19264b0232
commit 1e7bd49677

View File

@ -1,6 +1,9 @@
#!python #!python
# #
# 2021 Zhengyu Peng # TCP server thread
# Monitor the TCP connection and receive commands
#
# 2021 - PRESENT Zhengyu Peng
# Website: https://zpeng.me # Website: https://zpeng.me
# #
# ` ` # ` `
@ -88,7 +91,6 @@ class TCPServer(Thread):
if data: if data:
self.cmd_queue.put(data.decode()) self.cmd_queue.put(data.decode())
else: else:
self.cmd_queue.put('standby')
break break
finally: finally: