|
|
@ -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: |
|
|
|