🤖 自动格式化代码 [skip ci]

pull/937/head
github-actions[bot] 2025-05-14 15:46:36 +00:00
parent dcf48bff5f
commit 22bce5c9c5
1 changed files with 3 additions and 3 deletions

View File

@ -309,7 +309,7 @@ class SubMind:
# 获取当前正在做的一件事情,不包含时间信息,以保持简洁 # 获取当前正在做的一件事情,不包含时间信息,以保持简洁
# 你可以根据需要调整 num 和 time_info 参数 # 你可以根据需要调整 num 和 time_info 参数
current_schedule_info = bot_schedule.get_current_num_task(num=1, time_info=False) current_schedule_info = bot_schedule.get_current_num_task(num=1, time_info=False)
if not current_schedule_info: # 如果日程为空,给一个默认提示 if not current_schedule_info: # 如果日程为空,给一个默认提示
current_schedule_info = "当前没有什么特别的安排。" current_schedule_info = "当前没有什么特别的安排。"
except Exception as e: except Exception as e:
logger.error(f"{self.log_prefix} 获取日程信息时出错: {e}") logger.error(f"{self.log_prefix} 获取日程信息时出错: {e}")