aboutsummaryrefslogtreecommitdiffstats
path: root/pySim/ts_102_221.py
diff options
context:
space:
mode:
Diffstat (limited to 'pySim/ts_102_221.py')
-rw-r--r--pySim/ts_102_221.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pySim/ts_102_221.py b/pySim/ts_102_221.py
index 708b50b..713d169 100644
--- a/pySim/ts_102_221.py
+++ b/pySim/ts_102_221.py
@@ -103,7 +103,7 @@ class FileDescriptor(BER_TLV_IE, tag=0x82):
'structure'/Enum(BitsInteger(3), no_info_given=0, transparent=1, linear_fixed=2, cyclic=6))
)
_construct = Struct('file_descriptor_byte'/FDB, Const(b'\x21'),
- 'record_len'/COptional(Int16ub), 'num_of_rec'/COptional(Int16ub))
+ 'record_len'/COptional(Int16ub), 'num_of_rec'/COptional(Int8ub))
# ETSI TS 102 221 11.1.1.4.4
class FileIdentifier(BER_TLV_IE, tag=0x83):