ruff 哥又有新点子
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user