Update Checks.py

This commit is contained in:
Usama Abdul Sattar 2019-04-26 14:33:36 +05:00 committed by GitHub
parent 1e2ed84200
commit 3fbe2f7b3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: