mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
fixing enabled bug in tasks for editing tasks
This commit is contained in:
parent
b6a10d828e
commit
e63966e7e6
@ -1077,7 +1077,7 @@ class PanelHandler(BaseHandler):
|
||||
command = "restart_server"
|
||||
elif action == "backup":
|
||||
command = "backup_server"
|
||||
if bleach.clean(self.get_argument('enabled', '1'))=='1':
|
||||
if bleach.clean(self.get_argument('enabled', '0'))=='1':
|
||||
enabled = True
|
||||
else:
|
||||
enabled = False
|
||||
|
Loading…
Reference in New Issue
Block a user