From fe0f3f63a2ad4f3c3a732fcec1bf068d6c329307 Mon Sep 17 00:00:00 2001 From: dami Date: Tue, 1 Apr 2025 22:02:42 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index db1cb8c2c..7a6be653c 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -957,6 +957,9 @@ def __createUser(dbname, username, password, address): def getDbBackupListFunc(dbname=''): bkDir = mw.getBackupDir() + '/database' + if not os.path.exists(bkDir): + mw.execShell('mkdir -p ' + bkDir) + blist = os.listdir(bkDir) r = []