From 058b161ad834b9af4de9bf7a80dddff923370ec6 Mon Sep 17 00:00:00 2001 From: Johnshall <71166067+Johnshall@users.noreply.github.com> Date: Fri, 14 Oct 2022 00:41:31 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=A9=20Remove=20head=20of=20sr=5Fad=5Fo?= =?UTF-8?q?nly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- factory/build_confs.py | 2 +- factory/template/sr_ad_only.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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] # # 仅广告 # 此规则用于配合其他规则使用