From c8b740733f0f9fcf438fc4606eea317011ebd8bd Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 28 四月 2023 16:42:47 +0800 Subject: [PATCH] 看盘页面及相关接口修改 --- alert_util.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/alert_util.py b/alert_util.py index 851ffd2..b6c5859 100644 --- a/alert_util.py +++ b/alert_util.py @@ -11,7 +11,8 @@ def alarm(): if not tool.is_alert_time() or constant.TEST: return - # TODO 鏆傛椂鍏抽棴鎶ヨ + if not constant.NEED_ALERT: + return AlertUtil().stop_audio() AlertUtil().play_audio() -- Gitblit v1.8.0