From eefda7d3908c34b55f813acccd679a894f07db6f Mon Sep 17 00:00:00 2001 From: vapao Date: Fri, 29 Jul 2022 10:53:09 +0800 Subject: [PATCH] =?UTF-8?q?F=20=E4=BF=AE=E5=A4=8D=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E5=90=AF=E7=94=A8=E5=BC=82=E5=B8=B8=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_api/apps/schedule/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spug_api/apps/schedule/views.py b/spug_api/apps/schedule/views.py index 8bce691..14e92f3 100644 --- a/spug_api/apps/schedule/views.py +++ b/spug_api/apps/schedule/views.py @@ -77,7 +77,7 @@ class Schedule(View): task.latest_id = None if form.is_active: message = {'id': form.id, 'action': 'add'} - message.update(task.to_dict(selects=('trigger', 'trigger_args', 'command', 'targets'))) + message.update(task.to_dict(selects=('interpreter', 'trigger', 'trigger_args', 'command', 'targets'))) else: message = {'id': form.id, 'action': 'remove'} rds_cli = get_redis_connection()