From 6686308e3b9026c51ce715ca9f9d92bdfde3a1e8 Mon Sep 17 00:00:00 2001 From: rengengchen Date: Thu, 21 Nov 2024 10:15:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- payment_backend/config/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payment_backend/config/utils.py b/payment_backend/config/utils.py index 585c63e..78d93cc 100644 --- a/payment_backend/config/utils.py +++ b/payment_backend/config/utils.py @@ -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)