Skip to content

Commit

Permalink
不使用https
Browse files Browse the repository at this point in the history
  • Loading branch information
shmilylty committed Apr 26, 2020
1 parent 2d9b792 commit b49d224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oneforall/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b49d224

Please sign in to comment.