From f7988a48b176408c495df58553363af45a40d6b2 Mon Sep 17 00:00:00 2001 From: lerdb Date: Thu, 10 Oct 2024 17:09:10 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=90=88=E5=B9=B6log=E8=BE=93?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/config.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/config.py b/common/config.py index 14f5566..565b0f3 100644 --- a/common/config.py +++ b/common/config.py @@ -55,9 +55,7 @@ def handle_default_config(): with open("./config/config.yml", "w", encoding="utf-8") as f: f.write(default_str) if (not os.getenv('build')): - logger.info('首次启动或配置文件被删除,已创建默认配置文件') - logger.info( - f'\n建议您到{variable.workdir + os.path.sep}config.yml修改配置后重新启动服务器') + logger.info(f'首次启动或配置文件被删除,已创建默认配置文件\n建议您到{variable.workdir + os.path.sep}config.yml修改配置后重新启动服务器') return default