aboutsummaryrefslogtreecommitdiffstats
path: root/pySim/ts_51_011.py
diff options
context:
space:
mode:
Diffstat (limited to 'pySim/ts_51_011.py')
-rw-r--r--pySim/ts_51_011.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pySim/ts_51_011.py b/pySim/ts_51_011.py
index 890b85b..5e430ea 100644
--- a/pySim/ts_51_011.py
+++ b/pySim/ts_51_011.py
@@ -472,7 +472,7 @@ class EF_CMI(LinFixedEF):
desc='Comparison Method Information', **kwargs):
super().__init__(fid, sfid=sfid, name=name, desc=desc, rec_len=rec_len, **kwargs)
self._construct = Struct(
- 'alpha_id'/Bytes(this._.total_len-1), 'comparison_method_id'/Int8ub)
+ 'alpha_id'/GsmStringAdapter(Rpad(Bytes(this._.total_len-1))), 'comparison_method_id'/Int8ub)
class DF_TELECOM(CardDF):