Update backup.py

pull/278/head
midoks 2 years ago
parent f854eed924
commit 088b7425d7
  1. 4
      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)

Loading…
Cancel
Save