Update index.py

This commit is contained in:
midoks
2023-02-22 22:40:29 +08:00
parent b93c3bb88e
commit 4179bbf580
+1 -1
View File
@@ -850,7 +850,7 @@ def setDbBackup():
# 数据库密码处理
def myPass(act, root):
conf_file = getConf('mysql')
conf_file = getConf()
mw.execShell("sed -i '/user=root/d' {}".format(conf_file))
mw.execShell("sed -i '/password=/d' {}".format(conf_file))
if act: