From cceecc21fc035a51cdde21a1d199615f512303d8 Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 17 Feb 2025 15:21:36 +0800 Subject: [PATCH] debug --- robot_cmd/robot_command.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/robot_cmd/robot_command.py b/robot_cmd/robot_command.py index b45913c..c24e11a 100644 --- a/robot_cmd/robot_command.py +++ b/robot_cmd/robot_command.py @@ -246,6 +246,6 @@ def simulate_commands(): # 保存到 Redis GroupBotManager.save_to_redis() - -# 执行模拟命令 -simulate_commands() +if __name__ == '__main__': + # 执行模拟命令 + simulate_commands()