From b49d2242aa51ea9fd6e9e8baa96a6423b7987d46 Mon Sep 17 00:00:00 2001 From: Jing Ling Date: Mon, 27 Apr 2020 00:08:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E4=BD=BF=E7=94=A8https?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oneforall/common/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oneforall/common/utils.py b/oneforall/common/utils.py index 6c67d10..f9becbc 100644 --- a/oneforall/common/utils.py +++ b/oneforall/common/utils.py @@ -488,7 +488,7 @@ def delete_file(*paths): @tenacity.retry(stop=tenacity.stop_after_attempt(2)) def check_net(): logger.log('INFOR', '正在检查网络环境') - url = 'https://www.example.com/' + url = 'http://www.example.com/' logger.log('INFOR', f'访问地址 {url}') try: rsp = requests.get(url)