Update index.py

This commit is contained in:
midoks
2022-06-18 17:56:59 +08:00
parent 913f9e0503
commit 58ad6218cd
+1 -1
View File
@@ -43,7 +43,7 @@ def getConfTpl():
def getMemPort():
path = getConf()
path = getServerDir() + '/memcached.env'
content = mw.readFile(path)
rep = 'PORT\s*=\s*(\d*)'
tmp = re.search(rep, content)