From e20f9e6cdf0b65d2c706a84e02fb023375575cba Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Thu, 4 Dec 2025 14:36:53 +0100 Subject: [PATCH] ts_102_221: EF.ARR: fix read_arr_record `read_arr_record 1` failed with an AttributeError exception because RECORD_NR must be all caps. Change-Id: If44f9f2271293d3063f6c527e5a68dcfaeb5942e --- pySim/ts_102_221.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pySim/ts_102_221.py b/pySim/ts_102_221.py index d97b3cfa..e38483d3 100644 --- a/pySim/ts_102_221.py +++ b/pySim/ts_102_221.py @@ -750,7 +750,7 @@ class EF_ARR(LinFixedEF): @cmd2.with_argparser(LinFixedEF.ShellCommands.read_rec_dec_parser) def do_read_arr_record(self, opts): """Read one EF.ARR record in flattened, human-friendly form.""" - (data, _sw) = self._cmd.lchan.read_record_dec(opts.record_nr) + (data, _sw) = self._cmd.lchan.read_record_dec(opts.RECORD_NR) data = self._cmd.lchan.selected_file.flatten(data) self._cmd.poutput_json(data, opts.oneline)