1
0
mirror of https://github.com/minoplhy/filters-maker.git synced 2024-12-22 10:08:11 +00:00
This commit is contained in:
minoplhy 2021-08-14 17:46:13 +07:00
parent 0ec675e55b
commit 619809896b

View File

@ -34,7 +34,7 @@ def add_file(incoming,excluded_in):
with open(incoming, 'w') as f:
f.writelines(set(lines))
crawler.sort(incoming)
asap = input("Do You wish to Delete Input File (Y/N) \n")
asap = input("Do You wish to Delete Input File (Y/N) : ")
if asap == 'Y' or asap == 'y':
os.remove(excluded_in)
else:
@ -73,7 +73,7 @@ def remove_file(incoming ,removed_in):
f.write(line.replace(line ,''))
elif not line.startswith((tuple(stallin))):
f.write('\n'.join([line + '\n']))
asap = input("Do You wish to Delete Input File (Y/N) \n")
asap = input("Do You wish to Delete Input File (Y/N) : ")
if asap == 'Y' or asap == 'y':
os.remove(removed_in)
else: