From cd15545ec3f57eb48805f3ee17a3d16bd605a3cc Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Wed, 30 Aug 2023 14:06:11 +0800 Subject: [PATCH] 2023/8/30 update --- python_jc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_jc.py b/python_jc.py index 5a50c5d..ae7ecc2 100644 --- a/python_jc.py +++ b/python_jc.py @@ -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连接后再试吧')