Update 酒店源.py

This commit is contained in:
frxz751113
2024-08-30 03:51:09 +08:00
committed by GitHub
parent 1118653ba5
commit 133594602f
+1 -1
View File
@@ -1004,7 +1004,7 @@ for line in lines:
with open('酒店优选.txt', 'w', encoding="utf-8") as file:
file.writelines(unique_lines)
#任务结束,删除不必要的过程文件
files_to_remove = ['去重.txt', "2.txt", "iptv#.txt", "e.txt", "a0.txt", "a.txt", "a1.txt", "b.txt", "c.txt", "c1.txt", "c2.txt", "d.txt", "f.txt", "o1.txt", "o.txt", "酒店源.txt"]
files_to_remove = ['去重.txt', "2.txt", "iptv.txt", "e.txt", "a0.txt", "a.txt", "a1.txt", "b.txt", "c.txt", "c1.txt", "c2.txt", "d.txt", "f.txt", "o1.txt", "o.txt", "酒店源.txt"]
for file in files_to_remove:
if os.path.exists(file):
os.remove(file)