This commit is contained in:
xyj 2023-12-07 18:17:56 +08:00
parent 7e11c54515
commit 9dcd34b915
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ def on_message(client, userdata, msg):
elif data == "status": elif data == "status":
# 查看运行状态 # 查看运行状态
get_status(client) get_status(client)
client.publish('error', payload='No Such Type2', qos=0)
else: else:
# 错误类型 # 错误类型
client.publish('error', payload='No Such Type', qos=0) client.publish('error', payload='No Such Type', qos=0)