From 7efde7923592ad656d7b50f24c35e8ffd232dd30 Mon Sep 17 00:00:00 2001 From: Adrian Yee Date: Thu, 30 Oct 2025 16:41:12 -0700 Subject: [PATCH] Fix error in `lf em 410x read` from color_string() Fix bug in color_string() usage introduced by 35d2f40 (bug #295). --- software/script/chameleon_cli_unit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/script/chameleon_cli_unit.py b/software/script/chameleon_cli_unit.py index b2c47e1..84e6d42 100644 --- a/software/script/chameleon_cli_unit.py +++ b/software/script/chameleon_cli_unit.py @@ -3135,7 +3135,7 @@ class LFEMRead(ReaderRequiredUnit): def on_exec(self, args: argparse.Namespace): data = self.cmd.em410x_scan() - print(color_string((TagSpecificType(data[0])), (CG, data[1].hex()))) + print(f"{TagSpecificType(data[0])}: {color_string((CG, data[1].hex()))}") @lf_em_410x.command('write')