Add catch for those that have existing bad ports

This commit is contained in:
Andrew 2022-10-04 16:14:22 -04:00
parent 2e212cc788
commit b8e0e2b0fb

View File

@ -139,7 +139,7 @@ def ping(ip, port):
try:
sock.connect((ip, port))
except socket.error:
except:
return False
try: