From 7fe023a6cde502638ef80536ead85747379b3459 Mon Sep 17 00:00:00 2001 From: RogerWork Date: Tue, 11 Feb 2025 17:10:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=A7=E8=A1=8C=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F=E7=9A=84=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update/views.py b/update/views.py index f56a59f..1532cb1 100644 --- a/update/views.py +++ b/update/views.py @@ -196,7 +196,7 @@ def update_cine(request): try: update_status['setup']['result'] = 'running' redis_conn.set(redis_key, json.dumps(update_status), 5 * 60) - setup_list = list(set(cmd_list) & set(cmd_dict['setup'])) + setup_list = list(set(cmd_list) & set(cmd_dict['setup'] + cmd_dict['before_sys'])) update_cmd = UpdateCommandUtil() result, setup_output = update_cmd.exec_cmd_by_type(cinema_ip, 'setup', setup_list, short_release) if result is False: