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