diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2021-11-19 14:04:12 +0100 |
---|---|---|
committer | dexter <pmaier@sysmocom.de> | 2021-11-22 17:37:00 +0000 |
commit | 47833bc176d1807ca215425b3cc42289c3557212 (patch) | |
tree | b38d7e0e2ea143c774ffb704c28521e2271ce6f1 | |
parent | 9e42e7ffce89b9be30f73a1ac7d1ae9ff2d32b6e (diff) |
cards: make _get_aid case insensitive
There is no need to be case sensitive when the xSIM application name is
given as AID.
Change-Id: I9944d9180bf1ba35f44f0be2b05bdb725b5b8da9
-rw-r--r-- | pySim/cards.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pySim/cards.py b/pySim/cards.py index 2319a56..a822161 100644 --- a/pySim/cards.py +++ b/pySim/cards.py @@ -284,6 +284,7 @@ class SimCard(object): # First (known) halves of the U/ISIM AID aid_map["usim"] = "a0000000871002" aid_map["isim"] = "a0000000871004" + adf = adf.lower() if adf in aid_map: return aid_map[adf] return None |