diff --git a/web/core/mw.py b/web/core/mw.py index 35f2d940e..5b5882ac1 100644 --- a/web/core/mw.py +++ b/web/core/mw.py @@ -121,7 +121,7 @@ def getPanelTaskExecLog(): def getWwwDir(): import thisdb - site_path = thisdb.getOption('site_path') + site_path = thisdb.getOption('site_path', default=getFatherDir()+'/backup') return site_path def getBackupDir():