Update 'crawler.py'

This commit is contained in:
Kale 2021-08-17 22:22:47 -07:00
parent 1946878824
commit 3225335c39
No known key found for this signature in database
GPG Key ID: F8A6CE83F1274467

View File

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