From e0d909eca7c2a94b2c3bc4ff22f121bc50a3e65b Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Wed, 10 May 2017 19:42:50 +0300 Subject: [PATCH] Do not return on DNSException --- blockcheck.py | 1 - 1 file changed, 1 deletion(-) diff --git a/blockcheck.py b/blockcheck.py index 611b548..9842c25 100755 --- a/blockcheck.py +++ b/blockcheck.py @@ -264,7 +264,6 @@ def _get_a_records(sitelist, querytype='A', dnsserver=None, googleapi=False): except dns.exception.DNSException as e: print_debug("DNSException:", str(e)) really_bad_fuckup_happened() - return "" return sorted(result)