修复未指定默认值

pull/640/head
Mr Chen 5 months ago
parent e6e9dcb48c
commit 5166e05dbe
  1. 2
      web/core/mw.py

@ -121,7 +121,7 @@ def getPanelTaskExecLog():
def getWwwDir(): def getWwwDir():
import thisdb import thisdb
site_path = thisdb.getOption('site_path') site_path = thisdb.getOption('site_path', default=getFatherDir()+'/backup')
return site_path return site_path
def getBackupDir(): def getBackupDir():

Loading…
Cancel
Save