Update simple_information.py

move im "def_verify_permission"
This commit is contained in:
luscff99 2020-09-09 02:22:47 -03:00 committed by GitHub
parent b13c9ffaee
commit 8194cd805c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -207,10 +207,10 @@ def global_message():
print(global_localization.line_of_dots)
def verify_connection(host='https://dark-sec-official.com'): # Connection check
def verify_connection(host='https://google.com'): # Connection check
run_command('clear')
try:
req = requests.get(host, timeout=25)
req = requests.get(host, timeout=30)
if req.status_code == 200:
print(localization.lang_verify_connection["connected"])
pass