From eaa366b453f2085954ae0f3bfaf83a9afb2d9fe6 Mon Sep 17 00:00:00 2001 From: yuyangzhang <84109471+YuyangisCoding@users.noreply.github.com> Date: Tue, 3 Feb 2026 12:16:51 +1000 Subject: [PATCH] fix cli arg parser for FIELD_OFF_DO_RESET --- software/script/chameleon_cli_unit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/software/script/chameleon_cli_unit.py b/software/script/chameleon_cli_unit.py index fe1e7b8..caa1c9f 100644 --- a/software/script/chameleon_cli_unit.py +++ b/software/script/chameleon_cli_unit.py @@ -2263,7 +2263,7 @@ class HFMFEConfig(SlotIndexArgsAndGoUnit, HF14AAntiCollArgsUnit, DeviceRequiredU change_done = True else: print(f'{color_string((CY, "Requested logging of MFC authentication data already disabled"))}') - if args.enable_set_field_off_do_reset: + if args.enable_field_off_do_reset: change_requested = True if not field_off_do_reset: field_off_do_reset = True @@ -2271,7 +2271,7 @@ class HFMFEConfig(SlotIndexArgsAndGoUnit, HF14AAntiCollArgsUnit, DeviceRequiredU change_done = True else: print(f'{color_string((CY, "Requested FIELD_OFF_DO_RESET already enabled"))}') - elif args.disable_set_field_off_do_reset: + elif args.disable_field_off_do_reset: change_requested = True if field_off_do_reset: field_off_do_reset = False