mirror of
https://github.com//cppla/ServerStatus
synced 2025-07-04 16:35:58 +08:00
update
This commit is contained in:
parent
8ce00805c5
commit
df97a54b9c
@ -151,9 +151,9 @@ def get_network(ip_version):
|
||||
HOST = "ipv6.google.com"
|
||||
try:
|
||||
s = socket.create_connection((HOST, 80), 2)
|
||||
s.close()
|
||||
return True
|
||||
except:
|
||||
pass
|
||||
return False
|
||||
|
||||
lostRate = {
|
||||
|
@ -119,9 +119,9 @@ def get_network(ip_version):
|
||||
HOST = "ipv6.google.com"
|
||||
try:
|
||||
s = socket.create_connection((HOST, 80), 2)
|
||||
s.close()
|
||||
return True
|
||||
except:
|
||||
pass
|
||||
return False
|
||||
|
||||
lostRate = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user