diff options
author | Kyomotoi <[email protected]> | 2021-07-31 16:16:47 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2021-07-31 16:16:47 +0800 |
commit | 336eb9d9e98b0bee952c27a50820dbdb350bcc03 (patch) | |
tree | 718d5349232bce0d06cc901707bdd8f478c43314 /ATRI/log.py | |
parent | c485985d3be687d17168512de44ea7b744fea7cc (diff) | |
download | ATRI-336eb9d9e98b0bee952c27a50820dbdb350bcc03.tar.gz ATRI-336eb9d9e98b0bee952c27a50820dbdb350bcc03.tar.bz2 ATRI-336eb9d9e98b0bee952c27a50820dbdb350bcc03.zip |
🔥🚚✨
- 移除:laugh.txt,需要时再拉取
- 移动控制台文件至plugins/console目录下
- 新增:
- 和管理贴贴w
- 正式的可视化前端单页
Diffstat (limited to 'ATRI/log.py')
-rw-r--r-- | ATRI/log.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ATRI/log.py b/ATRI/log.py index 3766c4c..2c0301d 100644 --- a/ATRI/log.py +++ b/ATRI/log.py @@ -1,14 +1,13 @@ import sys from pathlib import Path from datetime import datetime -from typing import TYPE_CHECKING from nonebot.log import logger from .config import BotSelfConfig -LOGGER_DIR = Path(".") / "ATRI" / "data" / "logs" +LOGGER_DIR = Path(".") / "data" / "logs" LOGGER_DIR.parent.mkdir(exist_ok=True, parents=True) NOW_TIME = datetime.now().strftime("%Y%m%d-%H") |