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 = []