From a656b6671019c7e3a729281c27ac42d51e1fe834 Mon Sep 17 00:00:00 2001 From: Benajmyn Love Date: Fri, 2 Jun 2017 02:41:14 +1000 Subject: [PATCH] Grrr --- HTTPy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/HTTPy.py b/HTTPy.py index ed65653..2037b5e 100755 --- a/HTTPy.py +++ b/HTTPy.py @@ -36,6 +36,7 @@ def dig(inDomain, record): print len(test) #fix up mutiple record types... def ipLookup(inDomain): + host = "N/A" ipLook = subprocess.check_output(["geoiplookup", inDomain]) try: host = subprocess.check_output(["host", inDomain]) #Do exit status check...