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')