From 088b7425d7973cf22ca9451d29e3babee0cce17c Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 23 Nov 2022 19:56:41 +0800 Subject: [PATCH] Update backup.py --- scripts/backup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/backup.py b/scripts/backup.py index d24589110..8b54d0649 100755 --- a/scripts/backup.py +++ b/scripts/backup.py @@ -36,7 +36,7 @@ class backupTools: "----------------------------------------------------------------------------") return - backup_path = mw.getRootDir() + '/backup/site' + backup_path = mw.getBackupDir() + '/site' if not os.path.exists(backup_path): mw.execShell("mkdir -p " + backup_path) @@ -97,7 +97,7 @@ class backupTools: "----------------------------------------------------------------------------") return - backup_path = mw.getRootDir() + '/backup/database' + backup_path = mw.getBackupDir() + '/database' if not os.path.exists(backup_path): mw.execShell("mkdir -p " + backup_path)