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():