From 68876217d9f786cccbfa3b755aa9ff912fd521c4 Mon Sep 17 00:00:00 2001 From: Kale Date: Mon, 2 Aug 2021 08:31:07 -0700 Subject: [PATCH] Update 'maker_domains.py' --- maker_domains.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maker_domains.py b/maker_domains.py index 644a22b..d76239a 100644 --- a/maker_domains.py +++ b/maker_domains.py @@ -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()