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:
@@ -1639,6 +1639,11 @@ def addMasterRepSlaveUser(version=''):
|
||||
|
||||
|
||||
def getMasterRepSlaveUserCmd(version):
|
||||
|
||||
version_pl = getServerDir() + "/version.pl"
|
||||
if os.path.exists(version_pl):
|
||||
version = mw.readFile(version_pl)
|
||||
|
||||
args = getArgs()
|
||||
data = checkArgs(args, ['username', 'db'])
|
||||
if not data[0]:
|
||||
|
||||
Reference in New Issue
Block a user