Update iptv.py
This commit is contained in:
+1
-1
@@ -1494,7 +1494,7 @@ def txt_to_m3u(input_file, output_file):
|
||||
txt_to_m3u('综合源.txt', '综合源.m3u')
|
||||
#任务结束,删除不必要的过程文件#
|
||||
files_to_remove = ['组播源.txt', "TW.txt", "a.txt", "a0.txt", "b.txt", "b1.txt", "港澳.txt", "df0.txt", "df.txt", "df1.txt", "sr1.txt", "sr2.txt", \
|
||||
"c2.txt", "c1.txt", "DD.txt", "f.txt", "f1.txt", "酒店源#.txt"]
|
||||
"c2.txt", "c1.txt", "DD.txt", "f.txt", "f1.txt", "酒店源.txt"]
|
||||
for file in files_to_remove:
|
||||
if os.path.exists(file):
|
||||
os.remove(file)
|
||||
|
||||
Reference in New Issue
Block a user