1
0
mirror of https://github.com/minoplhy/filters-maker.git synced 2024-12-22 18:18:13 +00:00

Update 'maker_domains.py'

This commit is contained in:
Kale 2021-08-02 08:31:07 -07:00
parent 952d6872d3
commit 68876217d9
No known key found for this signature in database
GPG Key ID: F8A6CE83F1274467

View File

@ -29,9 +29,9 @@ def domainsbuilding(excluded ,incoming):
for line in lines:
if line.strip() and not line in exclude and not line.startswith('#'):
f.write('\n'.join([line + '\n']))
if line.startswith((';','$','@',' IN')):
elif line.startswith((';','$','@',' IN')):
f.write('\n'.join([line + '\n']))
if not line.strip():
elif not line.strip():
f.write('\n'.join([line + '\n']))
f.close()