diff --git a/HTTPy.py b/HTTPy.py index 39e27b0..8b28ff1 100755 --- a/HTTPy.py +++ b/HTTPy.py @@ -108,7 +108,7 @@ def parseWhois(whioisInfo): U = re.compile("^[Uu]") 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 "domain" in str: if "ok" in str: @@ -117,7 +117,6 @@ def parseWhois(whioisInfo): print bcolors.RED + str + bcolors.RESET else: print str - print str def whois(inDomain): lookup = subprocess.check_output(["whois", inDomain])