1
0
Fork 0
mirror of https://github.com/minoplhy/filters-maker synced 2023-12-14 08:32:52 +01:00

Remove excluder input file after proceed

This commit is contained in:
minoplhy 2021-08-05 21:03:58 +07:00
parent 2811f73c08
commit 46f614c500
5 changed files with 3 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,3 +1,4 @@
import os
import crawler
def add(incoming,input):
@ -26,3 +27,4 @@ def add_file(incoming,excluded_in):
with open(incoming, 'w') as f:
f.writelines(set(lines))
crawler.sort(incoming)
os.remove(excluded_in)