mirror of https://github.com/cppla/ServerStatus
				
				
				
			update
							parent
							
								
									8ce00805c5
								
							
						
					
					
						commit
						df97a54b9c
					
				|  | @ -151,10 +151,10 @@ 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 | ||||
|         return False | ||||
| 
 | ||||
| lostRate = { | ||||
|     '10010': 0.0, | ||||
|  |  | |||
|  | @ -119,10 +119,10 @@ 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 | ||||
|         return False | ||||
| 
 | ||||
| lostRate = { | ||||
|     '10010': 0.0, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 ubuntu
						ubuntu