From 0e4515f53d3aaa27e3f56058145b833f17547089 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Tue, 4 Jan 2022 18:04:44 +0100 Subject: [PATCH] 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 --- pySim/filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pySim/filesystem.py b/pySim/filesystem.py index c706131f..dfe16772 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