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: