We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b254efb commit fa92ae6Copy full SHA for fa92ae6
clients/client-linux.py
@@ -151,10 +151,10 @@ def get_network(ip_version):
151
HOST = "ipv6.google.com"
152
try:
153
s = socket.create_connection((HOST, 80), 2)
154
+ s.close()
155
return True
156
except:
- pass
157
- return False
+ return False
158
159
lostRate = {
160
'10010': 0.0,
clients/client-psutil.py
@@ -119,10 +119,10 @@ def get_network(ip_version):
119
120
121
122
123
124
125
126
127
128
0 commit comments