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:
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
|
||||
## NEXT
|
||||
### Improvements
|
||||
- General
|
||||
- replaced the internet checking old host (`google.com`) by a more general one (`w3.org`) [#300](https://github.com/vinifmor/bauh/issues/300)
|
||||
- UI
|
||||
- the "Skip" button on the initialization panel is now enabled after 10 seconds [#310](https://github.com/vinifmor/bauh/issues/310)
|
||||
|
||||
|
||||
@@ -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