fix: 彻底解决schedule

pull/61/head
tcmofashi 2025-03-06 00:40:39 +08:00
parent 91d8ca80cf
commit 8c45e7d2be
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ class ScheduleGenerator:
min_diff = float('inf')
# 检查今天的日程
if not self.today_schedule.keys():
if not self.today_schedule:
return "摸鱼"
for time_str in self.today_schedule.keys():
diff = abs(self._time_diff(current_time, time_str))