🧩 Remove head from sr_ad_only

This commit is contained in:
Johnshall
2022-10-10 23:05:31 +08:00
committed by GitHub
parent 2cdfcf8710
commit 04f0fe9063

View File

@@ -74,7 +74,9 @@ for conf_name in confs_names:
file_template = open('template/'+conf_name+'.txt', 'r', encoding='utf-8') file_template = open('template/'+conf_name+'.txt', 'r', encoding='utf-8')
template = file_template.read() template = file_template.read()
template = str_head + template + str_foot template = template + str_foot
if conf_name != 'sr_ad_only':
template = str_head + template
file_output = open('../'+conf_name+'.conf', 'w', encoding='utf-8') file_output = open('../'+conf_name+'.conf', 'w', encoding='utf-8')