From 6d12802f151d287b92e80cce5f8c9d3efa1fbbe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=B4=9B?= Date: Thu, 22 Jul 2021 18:37:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=91=AB=E8=8A=A6=E4=BE=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hlx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hlx.py b/hlx.py index 1cefbb0..7647f4c 100644 --- a/hlx.py +++ b/hlx.py @@ -101,7 +101,7 @@ def start(): if "hlx_username" in os.environ and "hlx_password" in os.environ: print('已经在环境中找到用户名和密码,开始执行程序') res = hlx(os.environ['hlx_username'], os.environ['hlx_password']) - result = 'notify ' + scriptName + ' ' + res + result = 'notify ' + f' \'{scriptName}\'' + f' \'{res}\'' print(result) else: