nslookup: remove deletion of variable 'answer'
This commit is contained in:
parent
0038eecfbc
commit
90fc695794
|
@ -22,7 +22,6 @@ def nslookup(domain, types=["AAAA", "A"]):
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
result = "Error"
|
result = "Error"
|
||||||
print("nslookup error! - "+str(err))
|
print("nslookup error! - "+str(err))
|
||||||
del answer
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user