mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-04-11 08:52:38 +03:00
saip: MncLen: fix for missing EF-AD
Change-Id: I7f5ce22d23808c91234c6a75b8a22264d3c5bc92
This commit is contained in:
@@ -673,8 +673,10 @@ class MncLen(ConfigurableParameter):
|
|||||||
for pe in pes.get_pes_for_type('usim'):
|
for pe in pes.get_pes_for_type('usim'):
|
||||||
if not hasattr(pe, 'files'):
|
if not hasattr(pe, 'files'):
|
||||||
continue
|
continue
|
||||||
|
f_ad = pe.files.get('ef-ad')
|
||||||
|
if not f_ad:
|
||||||
|
continue
|
||||||
# decode existing values
|
# decode existing values
|
||||||
f_ad = pe.files['ef-ad']
|
|
||||||
if not f_ad.body:
|
if not f_ad.body:
|
||||||
continue
|
continue
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user