Update index.py

This commit is contained in:
midoks
2022-08-03 08:53:45 +08:00
parent 209488b0ed
commit 0277ca280e
+1 -1
View File
@@ -1902,7 +1902,7 @@ def initSlaveStatus(version=''):
db.query(cmd_data['data'])
db.query('start slave')
except Exception as e:
return mw.returnJson(True, 'SSH认证配置连接失败!' + str(e))
return mw.returnJson(False, 'SSH认证配置连接失败!' + str(e))
time.sleep(0.5)
ssh.close()