Browse Source

葫芦侠

pull/15/head
张洛 3 years ago
parent
commit
6d12802f15
  1. 2
      hlx.py

2
hlx.py

@ -101,7 +101,7 @@ def start():
if "hlx_username" in os.environ and "hlx_password" in os.environ: if "hlx_username" in os.environ and "hlx_password" in os.environ:
print('已经在环境中找到用户名和密码,开始执行程序') print('已经在环境中找到用户名和密码,开始执行程序')
res = hlx(os.environ['hlx_username'], os.environ['hlx_password']) res = hlx(os.environ['hlx_username'], os.environ['hlx_password'])
result = 'notify ' + scriptName + ' ' + res result = 'notify ' + f' \'{scriptName}\'' + f' \'{res}\''
print(result) print(result)
else: else:

Loading…
Cancel
Save