diff --git a/src/wgd.sh b/src/wgd.sh index 5e3b6a2..3df5d1e 100755 --- a/src/wgd.sh +++ b/src/wgd.sh @@ -245,13 +245,13 @@ _checkPythonVersion(){ } _determinePypiMirror(){ - printf "[WGDashboard] Pinging list of recommended Python Package Index mirror" + printf "[WGDashboard] Pinging list of recommended Python Package Index mirror\n" urls=( + "https://pypi.org" "https://pypi.tuna.tsinghua.edu.cn/simple/" "https://pypi.mirrors.ustc.edu.cn/simple/" "https://mirrors.aliyun.com/pypi/simple/" "https://pypi.douban.com/simple/" - "https://pypi.org" ) # Function to extract hostname and ping it