From 9c1a4ece3d011e499a8bfa7a18bd04af2799669b Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Wed, 10 Mar 2021 12:38:15 +0100 Subject: [PATCH] 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 --- pySim-shell.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pySim-shell.py b/pySim-shell.py index 481bfc86..946b3e57 100755 --- a/pySim-shell.py +++ b/pySim-shell.py @@ -263,4 +263,5 @@ if __name__ == '__main__': rs.mf.add_application(ADF_ISIM()) app = PysimApp(card, rs) + rs.select('MF', app) app.cmdloop()