diff --git a/factory/build_confs.py b/factory/build_confs.py index 20fd148..c1e9270 100644 --- a/factory/build_confs.py +++ b/factory/build_confs.py @@ -76,7 +76,7 @@ for conf_name in confs_names: template = template + str_foot if conf_name != 'sr_ad_only': - template = str_head + template + template = template file_output = open('../'+conf_name+'.conf', 'w', encoding='utf-8') diff --git a/factory/template/sr_ad_only.txt b/factory/template/sr_ad_only.txt index 25f124a..985118a 100644 --- a/factory/template/sr_ad_only.txt +++ b/factory/template/sr_ad_only.txt @@ -1,3 +1,4 @@ +[Rule] # # 仅广告 # 此规则用于配合其他规则使用