修复bug

This commit is contained in:
rengengchen 2024-11-21 10:15:00 +08:00
parent 32fd7fdf24
commit 6686308e3b
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ def get_config(yaml_file=fr'{ROOT_DIR}/config/param.yaml', ini_file=fr'{ROOT_DIR
requests.adapters.DEFAULT_RETRIES = 3
config = Setting()
if os.path.exists(yaml_file):
if os.path.exists(ini_file):
configparser = ConfigParser()
configparser.read(ini_file)
config.update_config_parser(configparser)