From 3225335c39330911d3b4b97bd94c991a1c1a970d Mon Sep 17 00:00:00 2001 From: Kale Date: Tue, 17 Aug 2021 22:22:47 -0700 Subject: [PATCH] Update 'crawler.py' --- crawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crawler.py b/crawler.py index d0e6fb5..dba4b1a 100644 --- a/crawler.py +++ b/crawler.py @@ -79,7 +79,7 @@ def filteringcon(filters_regex_one): lines = f.read().splitlines() with open(filters_regex_one, 'w') as f: for line in lines: - f.write('\n'.join(line.split())) + f.write('\n'.join(line.split('\n'))) def killingdup(duplicated_file): print('Getting rid of duplicated line')