laforge submitted this change.
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
---
M pySim/filesystem.py
1 file changed, 1 insertion(+), 1 deletion(-)
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 @@
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
To view, visit change 26767. To unsubscribe, or for help writing mail filters, visit settings.