filesystem: Fix CardMF.get_app_names()

This function was not used and doesn't work without this patch.

Change-Id: Id3dad7d97fe29a25792d2f8f0e879666c1d9c136
This commit is contained in:
Harald Welte 2022-02-12 18:20:49 +01:00
parent 6ca2fa7a5d
commit d53918c3e1
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ class CardMF(CardDF):
def get_app_names(self):
"""Get list of completions (AID names)"""
return [x.name for x in self.applications]
return list(self.applications.values())
def get_selectables(self, flags=[]) -> dict:
"""Return a dict of {'identifier': File} that is selectable from the current DF.