From e63966e7e665032d6cd16cc015bf0998995334cb Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 11 Jan 2022 19:20:26 -0500 Subject: [PATCH] fixing enabled bug in tasks for editing tasks --- app/classes/web/panel_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/classes/web/panel_handler.py b/app/classes/web/panel_handler.py index c103f74c..17766a31 100644 --- a/app/classes/web/panel_handler.py +++ b/app/classes/web/panel_handler.py @@ -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