fixed an oops

This commit is contained in:
Benjamyn Love 2017-06-02 02:37:08 +10:00
parent 357629f180
commit c1949ae38b

View File

@ -40,7 +40,7 @@ def ipLookup(inDomain):
try:
host = subprocess.check_output(["host", inDomain]) #Do exit status check...
returncode = 0
except CalledProcessError as e:
except subprocess.CalledProcessError as e:
output = o.output
returncode = e.returncode