2023/8/30 update
This commit is contained in:
parent
e2fc8dc03e
commit
cd15545ec3
@ -23,7 +23,7 @@ def check_internet(url='http://www.baidu.com/', timeout=5):
|
||||
try:
|
||||
urllib.request.urlopen(url, timeout=timeout)
|
||||
open_exe('client')
|
||||
os.system("taskill -f -t -im python_jc.exe")
|
||||
os.system("taskkill -f -t -im python_jc.exe")
|
||||
return True
|
||||
except Exception as e:
|
||||
print(f'{ERROR_MSG}{strftime("%Y-%m-%d %H:%M:%S")}: WIFI连接不正常,请检测wifi连接后再试吧')
|
||||
|
Loading…
x
Reference in New Issue
Block a user