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:
|
||||
result = "Error"
|
||||
print("nslookup error! - "+str(err))
|
||||
del answer
|
||||
return result
|
||||
|
||||
def main():
|
||||
|
|
Loading…
Reference in New Issue
Block a user