From 8ed6f4c3f28519dd294a00d505ab4647644b7a5b Mon Sep 17 00:00:00 2001 From: Kale Date: Mon, 2 Aug 2021 08:34:51 -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 852da2e..9985b41 100644 --- a/crawler.py +++ b/crawler.py @@ -73,7 +73,7 @@ def excluded(excluded_file ,incoming): exclude = f.read().split() with open(incoming ,'r') as f: lines = f.read().splitlines() # read lines - with open(output ,'w') as f: + with open(incoming ,'w') as f: for line in lines: if line.strip() and not line in exclude and not line.startswith(';'): f.write('\n'.join([line + ' CNAME .\n']))