mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Update Checks.py
This commit is contained in:
parent
1e2ed84200
commit
3fbe2f7b3b
|
@ -18,7 +18,7 @@ languageSelector()
|
|||
def checkConnection(host='https://google.com'): #Connection check
|
||||
system('clear')
|
||||
try:
|
||||
urlopen(host)
|
||||
urlopen(host, timeout=5)
|
||||
print(_("{0}HURRAY!! Internet is available.. We can Continue{1}").format(GREEN, DEFAULT))
|
||||
return True
|
||||
except:
|
||||
|
|
Loading…
Reference in New Issue
Block a user