From 02f3bef84425c152a47d8d2ed693d3c4308dbcf9 Mon Sep 17 00:00:00 2001 From: Benajmyn Love Date: Fri, 28 Jul 2017 11:22:56 +1000 Subject: [PATCH] fix1 --- HTTPy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HTTPy.py b/HTTPy.py index 38e0172..d6170bd 100755 --- a/HTTPy.py +++ b/HTTPy.py @@ -112,8 +112,8 @@ def parseWhois(whioisInfo): for str in whioisInfo: str = str.strip() if NS.match(str) or D.match(str) or R.match(str) or U.match(str) or S.match(str) or L.match(str): - if "domain" in str or "Domain" in str and "Name" not in str: - if "name" not in str and "ID" not in str or "Status" in str: + if "domain" in str or "Domain" in str and "Name" not in str or "Status" in str: + if "name" not in str and "ID" not in str: if "ok" in str or "OK" in str: print bcolors.GREEN + str + bcolors.RESET else: