alert_util.py @@ -4,11 +4,12 @@ # 报警 import constant import tool def alarm(): if not tool.is_alert_time(): if not tool.is_alert_time() or constant.TEST: return # TODO 暂时关闭报警 AlertUtil().stop_audio()