From 4179bbf5805c2009f6bb16a0d16e25357184e418 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 22 Feb 2023 22:40:29 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index 7bc03464b..04c1559dd 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -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: