1
0
mirror of https://github.com/minoplhy/filters-maker.git synced 2024-12-22 18:18:13 +00:00

Close file

This commit is contained in:
minoplhy 2021-08-18 12:36:53 +07:00
parent a05727f101
commit 97bbca0e43

View File

@ -76,6 +76,7 @@ def filteringcon(filters_regex_one):
for line in lines:
if not line.endswith((tuple(remove_words))):
f.write('\n'.join([line + '\n']))
f.close()
def killingdup(duplicated_file):
print('Getting rid of duplicated line')