简化信息存储

This commit is contained in:
liuwei
2025-04-28 10:54:00 +08:00
parent d175c58380
commit 22279586a0

10
main.py
View File

@@ -69,11 +69,11 @@ def main(chat_type: int):
robot.LOG.info(f"Dashboard服务器已在 http://{dashboard_server.host}:{dashboard_server.port} 启动") robot.LOG.info(f"Dashboard服务器已在 http://{dashboard_server.host}:{dashboard_server.port} 启动")
except Exception as e: except Exception as e:
robot.LOG.error(f"Dashboard服务器启动失败: {e}") robot.LOG.error(f"Dashboard服务器启动失败: {e}")
try: # try:
time.sleep(10) # time.sleep(10)
gewe_client.client_set_callback() # gewe_client.client_set_callback()
except Exception as e: # except Exception as e:
robot.LOG.error(f"client_set_callback error: {e}") # robot.LOG.error(f"client_set_callback error: {e}")
# 让机器人一直跑 # 让机器人一直跑
robot.keep_running_and_block_process() robot.keep_running_and_block_process()