mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user