Update index.py

This commit is contained in:
dami 2025-07-21 17:20:34 +08:00
parent ce74ec97fb
commit 1507368ea7
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ def getMysqlPort():
content = mw.readFile(path)
rep = r'listen\s*=\s*(.*):mysql'
conf = re.search(rep, content)
port_line = conf.groups()[1]
port_line = conf.groups()[0]
return port_line.split(":")[1]
def getHttpPort():