From 49d1579782fe032af6cc037f6d8730e6f9217c4f Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 26 Nov 2022 13:20:24 +0800 Subject: [PATCH] Update index.py --- plugins/supervisor/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/supervisor/index.py b/plugins/supervisor/index.py index 6571350a1..ae162d68c 100755 --- a/plugins/supervisor/index.py +++ b/plugins/supervisor/index.py @@ -324,7 +324,7 @@ def startJob(): data = mw.execShell(cmd) - if data[0] != '': + if data[1] != '': return mw.returnJson(False, action + '[' + name + ']失败!') return mw.returnJson(True, action + '[' + name + ']成功!')