[commons.internet] enhancement: replacing 'google.com' by 'w3.org'

This commit is contained in:
Vinicius Moreira
2023-10-28 10:34:37 -03:00
parent 35ecffb7a0
commit d6a764261e
2 changed files with 3 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ class InternetChecker:
return False
try:
socket.gethostbyname('google.com')
socket.gethostbyname("w3.org")
return True
except Exception:
return False