diff options
author | Kyomotoi <[email protected]> | 2022-04-04 17:06:09 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2022-04-05 15:27:21 +0800 |
commit | 1caf5ae8bb3e0560451f967f276ff1291a80d1dd (patch) | |
tree | d37dc752bfc15ccbe89855f0e4c78be7efa919ed /ATRI/plugins/essential.py | |
parent | d07348c2a2dd551c00aa330fcc1015155854e874 (diff) | |
download | ATRI-1caf5ae8bb3e0560451f967f276ff1291a80d1dd.tar.gz ATRI-1caf5ae8bb3e0560451f967f276ff1291a80d1dd.tar.bz2 ATRI-1caf5ae8bb3e0560451f967f276ff1291a80d1dd.zip |
🧱 针对 部分小修改
Diffstat (limited to 'ATRI/plugins/essential.py')
-rw-r--r-- | ATRI/plugins/essential.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ATRI/plugins/essential.py b/ATRI/plugins/essential.py index 242e267..37c18a4 100644 --- a/ATRI/plugins/essential.py +++ b/ATRI/plugins/essential.py @@ -66,6 +66,10 @@ async def startup(): except Exception: log.error("检查 更新/最新推送 失败...") + if not scheduler.running: + scheduler.start() + log.info("Scheduler Started.") + log.info("アトリは、高性能ですから!") |