From 533653fe4769d9f5999c3455588b6c5631758f94 Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 8 Aug 2023 16:48:21 +0800 Subject: [PATCH] Update index.py --- plugins/mysql-apt/index.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/mysql-apt/index.py b/plugins/mysql-apt/index.py index 1cd067ef2..4b62c5de4 100755 --- a/plugins/mysql-apt/index.py +++ b/plugins/mysql-apt/index.py @@ -165,6 +165,10 @@ def pMysqlDb(): def initDreplace(version=''): + t = getServerDir() + if not os.path.exists(t): + return + conf_dir = getServerDir() + '/etc' mode_dir = conf_dir + '/mode'