mirror of
https://github.com/Nezumi-2711/astrbot_plugin_qq_group_daily_analysis.git
synced 2026-09-22 13:38:43 +00:00
fix(ruff)
This commit is contained in:
@@ -269,7 +269,11 @@ class AutoScheduler:
|
||||
|
||||
def unschedule_jobs(self, context):
|
||||
"""取消定时任务"""
|
||||
if not context or not hasattr(context, "cron_manager") or not context.cron_manager:
|
||||
if (
|
||||
not context
|
||||
or not hasattr(context, "cron_manager")
|
||||
or not context.cron_manager
|
||||
):
|
||||
return
|
||||
|
||||
scheduler = context.cron_manager.scheduler
|
||||
|
||||
Reference in New Issue
Block a user