aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2022-01-04 18:04:44 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2022-01-04 18:06:25 +0100
commit0e4515f53d3aaa27e3f56058145b833f17547089 (patch)
tree217cf7c77c7f8a696d06bcdcf4c74453b3afd6fe
parent8d8bdef6377f552d34d896f32f821310875f33e6 (diff)
filesystem: use correct AID for applications found by probing
When printing applications found by probing for a specific AID, then the wrong variable is used to print the AID. Change-Id: I3d5ec28e46fe00c0d793a1d9ef0a0e0900649a4d
-rw-r--r--pySim/filesystem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pySim/filesystem.py b/pySim/filesystem.py
index c706131..dfe1677 100644
--- a/pySim/filesystem.py
+++ b/pySim/filesystem.py
@@ -1115,7 +1115,7 @@ class RuntimeState(object):
for f in set(apps_profile) - set(apps_taken):
data, sw = self.card.select_adf_by_aid(f.aid)
if sw == "9000":
- print(" %s: %s" % (f.name, a))
+ print(" %s: %s" % (f.name, f.aid))
apps_taken.append(f)
return apps_taken