Update tcpserver.py

master
Zhengyu Peng 3 years ago
parent 2e55b0af23
commit 3ab3b42e89

@ -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:

Loading…
Cancel
Save