🧩 Remove head and foot from sr_ad_only

This commit is contained in:
Johnshall
2022-10-14 01:09:56 +08:00
committed by GitHub
parent 1f20f884f6
commit 61249cc74b

View File

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