From 22279586a02020b1d974e48e64cd62adc258e3cd Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 28 Apr 2025 10:54:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8C=96=E4=BF=A1=E6=81=AF=E5=AD=98?= =?UTF-8?q?=E5=82=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.py b/main.py index 28f1a95..56e7413 100644 --- a/main.py +++ b/main.py @@ -69,11 +69,11 @@ def main(chat_type: int): robot.LOG.info(f"Dashboard服务器已在 http://{dashboard_server.host}:{dashboard_server.port} 启动") except Exception as e: robot.LOG.error(f"Dashboard服务器启动失败: {e}") - try: - time.sleep(10) - gewe_client.client_set_callback() - except Exception as e: - robot.LOG.error(f"client_set_callback error: {e}") + # try: + # time.sleep(10) + # gewe_client.client_set_callback() + # except Exception as e: + # robot.LOG.error(f"client_set_callback error: {e}") # 让机器人一直跑 robot.keep_running_and_block_process()