diff --git a/crawler.py b/crawler.py index 1b531b6..f8e7421 100644 --- a/crawler.py +++ b/crawler.py @@ -76,7 +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() + f.close() def killingdup(duplicated_file): print('Getting rid of duplicated line')