Update Checks.py

This commit is contained in:
Usama Abdul Sattar 2019-07-13 19:57:58 +05:00 committed by GitHub
parent 0b65c5bc1d
commit eca4890b4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ languageSelector()
def checkConnection(host='https://google.com'): #Connection check
system('clear')
try:
urlopen(host, timeout=5)
urlopen(host, timeout=10)
print(_("{0}HURRAY!! Internet is available.. We can Continue{1}").format(GREEN, DEFAULT))
return True
except: