ruff 哥又有新点子

This commit is contained in:
SengokuCola
2025-03-11 01:19:56 +08:00
parent 354d6d0deb
commit 7b35ddd07f
11 changed files with 29 additions and 29 deletions

View File

@@ -91,7 +91,7 @@ class ScheduleGenerator:
try:
schedule_dict = json.loads(schedule_text)
return schedule_dict
except json.JSONDecodeError as e:
except json.JSONDecodeError:
logger.exception("解析日程失败: {}".format(schedule_text))
return False