From 1507368ea700e3ff3cafd07de08299ce0230b26c Mon Sep 17 00:00:00 2001 From: dami Date: Mon, 21 Jul 2025 17:20:34 +0800 Subject: [PATCH] Update index.py --- plugins/manticoresearch/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/manticoresearch/index.py b/plugins/manticoresearch/index.py index 49f957b32..0c64520d5 100755 --- a/plugins/manticoresearch/index.py +++ b/plugins/manticoresearch/index.py @@ -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():