Update index.py

pull/118/head
midoks 3 years ago
parent 64b27ab5df
commit f1c3f04176
  1. 4
      plugins/mysql/index.py

@ -572,7 +572,7 @@ def setMyPort():
def runInfo():
if status(version) == 'stop':
return mw.returnJson(false, 'MySQL未启动', [])
return mw.returnJson(False, 'MySQL未启动', [])
db = pMysqlDb()
data = db.query('show global status')
@ -1470,7 +1470,7 @@ def setDbSlave(version):
def getMasterStatus(version=''):
if status(version) == 'stop':
return mw.returnJson(false, 'MySQL未启动,或正在启动中...!', [])
return mw.returnJson(False, 'MySQL未启动,或正在启动中...!', [])
conf = getConf()
con = mw.readFile(conf)

Loading…
Cancel
Save