mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-16 18:38:32 +03:00
pySim.esim.saip.ProfileElementGFM: Initialize 'fileManagementCMD'
When constructing a ProfileElmentGFM from scratch, initialize the decoded['fileManagementCMD'], as it is a mandatory member during ASN.1 encode. Change-Id: Iaae99348d36b7f0c739daf039d6ea2305b7ca9db
This commit is contained in:
@@ -622,6 +622,9 @@ class ProfileElementGFM(ProfileElement):
|
||||
# indexed by PE-Name
|
||||
self.files = {}
|
||||
self.tdef = asn1.types['ProfileElement'].type.name_to_member[self.type]
|
||||
if decoded:
|
||||
return
|
||||
self.decoded['fileManagementCMD'] = []
|
||||
|
||||
def supports_file_for_path(self, path: Path, adf: Optional[str] = None) -> bool:
|
||||
"""Does this ProfileElement support a file of given path?"""
|
||||
|
||||
Reference in New Issue
Block a user