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:
parent
a05727f101
commit
97bbca0e43
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user