mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 21:44:16 +02:00
[commons.internet] enhancement: replacing 'google.com' by 'w3.org'
This commit is contained in:
@@ -11,7 +11,7 @@ class InternetChecker:
|
||||
return False
|
||||
|
||||
try:
|
||||
socket.gethostbyname('google.com')
|
||||
socket.gethostbyname("w3.org")
|
||||
return True
|
||||
except Exception:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user