From 88a4105e7cbfbcd7952b3d47be3279f021f7ad6f Mon Sep 17 00:00:00 2001 From: Kyomotoi Date: Thu, 9 Jun 2022 22:32:12 +0800 Subject: =?UTF-8?q?=F0=9F=92=A9=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ATRI/log.py') diff --git a/ATRI/log.py b/ATRI/log.py index 39a4864..77f16ef 100644 --- a/ATRI/log.py +++ b/ATRI/log.py @@ -8,7 +8,7 @@ from .config import BotSelfConfig LOGGER_DIR = Path(".") / "data" / "logs" -LOGGER_DIR.parent.mkdir(exist_ok=True, parents=True) +LOGGER_DIR.mkdir(exist_ok=True, parents=True) NOW_TIME = datetime.now().strftime("%Y%m%d-%H") -- cgit v1.2.3