diff --git a/HTTPy.py b/HTTPy.py index e4521df..5b3a490 100755 --- a/HTTPy.py +++ b/HTTPy.py @@ -175,7 +175,7 @@ def dig(inDomain, record): iterate(test, record) return test -def newdig(inDomain, record, ""): +def newdig(inDomain, record, sub=""): try: dig = subprocess.check_output(["dig", record, "+short", inDomain]) except Exception as e: