diff options
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") |