From 136db0d5cae6fba2177ccd46e2b8e99e9f41c8cf Mon Sep 17 00:00:00 2001 From: Ziqi Zhu Date: Sun, 12 Nov 2023 22:52:26 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=86=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E5=B0=8FBug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 1344536..bab23a9 100644 --- a/main.py +++ b/main.py @@ -8,11 +8,10 @@ from server.prep_server import prep_server if __name__ == '__main__': - basicConfig() + basicConfig(level=INFO) config = ConfigParser() log = getLogger() - log.setLevel(INFO) if not exists('config.ini'): log.info('config.ini created. ') @@ -53,7 +52,7 @@ server_meta['mod_loader'], server_meta['game_version'] ) - if config['client']['enable'].strip().lower() == 'yes': + if config['server']['enable'].strip().lower() == 'yes': prep_server( config['server']['server_path'], server_meta['game_version'],