From c1949ae38bcc4f3c9fe6c9f2a0fa85560c911c90 Mon Sep 17 00:00:00 2001 From: Ben Date: Fri, 2 Jun 2017 02:37:08 +1000 Subject: [PATCH] fixed an oops --- HTTPy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTTPy.py b/HTTPy.py index a28e5de..0ceda3a 100755 --- a/HTTPy.py +++ b/HTTPy.py @@ -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