From 812ad143749712ccd368a85a0c291547d4d3ec56 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 26 Feb 2019 10:13:31 +0800 Subject: [PATCH] Update site_api.py --- class/core/site_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/core/site_api.py b/class/core/site_api.py index f4bd1b799..2f494ca86 100755 --- a/class/core/site_api.py +++ b/class/core/site_api.py @@ -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