From 9accc13d6dbc9f6b29bb9791ece46f429f7533c7 Mon Sep 17 00:00:00 2001 From: WINEZERO Date: Sun, 23 Apr 2023 18:26:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=98=E9=87=8F=E5=90=8DBU?= =?UTF-8?q?G?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/lib_dyna_rule/set_basic_var.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/lib_dyna_rule/set_basic_var.py b/libs/lib_dyna_rule/set_basic_var.py index f569479..4d00a5a 100644 --- a/libs/lib_dyna_rule/set_basic_var.py +++ b/libs/lib_dyna_rule/set_basic_var.py @@ -24,6 +24,7 @@ def set_base_var_dict(base_var_dir, # 并 同时读文件组装 {基本变量名: [基本变量文件内容列表]} for base_var_file_name in base_var_file_list: base_file_pure_name = os.path.basename(base_var_file_name) + base_file_pure_name = base_file_pure_name.rsplit('.',1)[0] base_var_name = f'%{base_file_pure_name}%' # 读文件到列表 @@ -63,6 +64,7 @@ def set_base_var_dict_frequency(base_var_dir, # 并 同时读文件组装 {基本变量名: [基本变量文件内容列表]} for base_var_file_name in base_var_file_list: base_file_pure_name = base_var_file_name.rsplit('.', 1)[0] + base_file_pure_name = base_file_pure_name.rsplit('.',1)[0] base_var_name = f'%{base_file_pure_name}%' # 读文件到列表