Update site_api.py

This commit is contained in:
Mr Chen
2019-02-26 10:13:31 +08:00
parent 5a4b06f12e
commit 9e6a95460b
+1 -1
View File
@@ -167,7 +167,7 @@ class site_api:
zipName = backupPath + '/' + fileName
if not (os.path.exists(backupPath)):
os.makedirs(backupPath)
tmps = '/tmp/panelExec.log'
tmps = public.getRunDir() + '/tmp/panelExec.log'
execStr = "cd '" + find['path'] + "' && zip '" + \
zipName + "' -r ./* > " + tmps + " 2>&1"
# print execStr