Update index.py

This commit is contained in:
midoks
2023-10-22 18:12:32 +08:00
parent ee84266acb
commit 4abd1df942
+1 -1
View File
@@ -190,7 +190,7 @@ def runInfo():
requirepass = ""
conf = getServerDir() + '/redis.conf'
conf = getServerDir() + '/keepalived.conf'
content = mw.readFile(conf)
rep = "^(requirepass" + ')\s*([.0-9A-Za-z_& ~]+)'
tmp = re.search(rep, content, re.M)