Update 临时组合.py
This commit is contained in:
+1
-2
@@ -225,8 +225,7 @@ def txt_to_m3u(input_file, output_file):
|
||||
# 将txt文件转换为m3u文件
|
||||
txt_to_m3u('综合源.txt', '综合源.m3u')
|
||||
#任务结束,删除不必要的过程文件#
|
||||
files_to_remove = ["汇总.txt", "TW.txt", "a.txt", "主.txt", "港澳.txt", "省市.txt", "少儿1.txt", \
|
||||
"c2.txt", "c1.txt", "DD.txt", "f.txt", "f1.txt"]
|
||||
files_to_remove = ["汇总.txt", "a.txt", "主.txt", "港澳.txt", "省市.txt", "少儿1.txt"]
|
||||
for file in files_to_remove:
|
||||
if os.path.exists(file):
|
||||
os.remove(file)
|
||||
|
||||
Reference in New Issue
Block a user