Skip to content

Commit 30902ee

Browse files
committed
Update crontab.py
1 parent 9442d58 commit 30902ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/utils/crontab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ def getShell(self, param):
468468
stype = 'database'
469469

470470
if stype == 'path' and param['echo'] == '':
471-
param['echo'] == "''"
471+
param['echo'] == "1"
472472

473473
wheres = {
474474
'path': head + "python3 " + script_dir + "/backup.py path " + param['sname'] + " " + str(param['save']) + " " + str(param['echo']),

0 commit comments

Comments
 (0)