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
This commit is contained in:
Philipp Maier 2022-01-04 18:04:44 +01:00
parent 8d8bdef637
commit 0e4515f53d
1 changed files with 1 additions and 1 deletions

View File

@ -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