pysim-shell: select MF on startup to make commands accessible

On the cration of the PysimApp object only the basic commands in
pySim-shell.py are registered, since the MF is only created but not
selected, the file specific commands of the MF are not available. To
make them available, select the MF once on startup before entering the
cmdloop.

Change-Id: Ib63191f44e7c8ae07b0128a9affba40b44957adc
Related: OS#4963
This commit is contained in:
Philipp Maier 2021-03-10 12:38:15 +01:00
parent 78e32f2b36
commit 9c1a4ece3d
1 changed files with 1 additions and 0 deletions

View File

@ -263,4 +263,5 @@ if __name__ == '__main__':
rs.mf.add_application(ADF_ISIM())
app = PysimApp(card, rs)
rs.select('MF', app)
app.cmdloop()