mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Add catch for those that have existing bad ports
This commit is contained in:
parent
2e212cc788
commit
b8e0e2b0fb
@ -139,7 +139,7 @@ def ping(ip, port):
|
||||
try:
|
||||
sock.connect((ip, port))
|
||||
|
||||
except socket.error:
|
||||
except:
|
||||
return False
|
||||
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user