Fixed obvious fuck up

This commit is contained in:
Benjamyn Love 2017-07-28 00:25:39 +10:00
parent 39d62ec9ea
commit 2fd49a8152

View File

@ -108,7 +108,7 @@ def parseWhois(whioisInfo):
U = re.compile("^[Uu]") U = re.compile("^[Uu]")
for str in whioisInfo: for str in whioisInfo:
str.strip() str = str.strip()
if NS.match(str) or D.match(str) or R.match(str) or U.match(str): if NS.match(str) or D.match(str) or R.match(str) or U.match(str):
if "domain" in str: if "domain" in str:
if "ok" in str: if "ok" in str:
@ -117,7 +117,6 @@ def parseWhois(whioisInfo):
print bcolors.RED + str + bcolors.RESET print bcolors.RED + str + bcolors.RESET
else: else:
print str print str
print str
def whois(inDomain): def whois(inDomain):
lookup = subprocess.check_output(["whois", inDomain]) lookup = subprocess.check_output(["whois", inDomain])