mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
修复未指定默认值
This commit is contained in:
+1
-1
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user