|
@@ -57,7 +57,7 @@ fgh curl -O https://ghproxy.org/https://raw.githubusercontent.com/microsoft/vsco
|
|
print(".env配置错误"+e)
|
|
print(".env配置错误"+e)
|
|
|
|
|
|
@staticmethod
|
|
@staticmethod
|
|
- def ping(host: str) -> None|int:
|
|
|
|
|
|
+ def ping(host: str) :
|
|
""" ping host """
|
|
""" ping host """
|
|
if host.startswith('https://') or host.startswith('http://'):
|
|
if host.startswith('https://') or host.startswith('http://'):
|
|
host = host.split('://')[1]
|
|
host = host.split('://')[1]
|