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
0b65c5bc1d
commit
eca4890b4d
|
@ -17,7 +17,7 @@ languageSelector()
|
||||||
def checkConnection(host='https://google.com'): #Connection check
|
def checkConnection(host='https://google.com'): #Connection check
|
||||||
system('clear')
|
system('clear')
|
||||||
try:
|
try:
|
||||||
urlopen(host, timeout=5)
|
urlopen(host, timeout=10)
|
||||||
print(_("{0}HURRAY!! Internet is available.. We can Continue{1}").format(GREEN, DEFAULT))
|
print(_("{0}HURRAY!! Internet is available.. We can Continue{1}").format(GREEN, DEFAULT))
|
||||||
return True
|
return True
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user