From b8b61bf8af925b3c476ed526dc2693c0204aafb8 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Thu, 7 Dec 2023 10:39:21 +0100 Subject: [PATCH] runtime: do not use the _scc object of the card object to select MF The constructor of the RuntimeState object selects the MF befor it does some other steps. However it does this through the _scc object of the card object. This method is before we had lchan abstraction, so we should now use the lchan object like in all other places. Related: OS#5418 Change-Id: I9a751c0228c77077e3fabb50a9a68e4489e7151c --- pySim/runtime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pySim/runtime.py b/pySim/runtime.py index 58df22d6..24472226 100644 --- a/pySim/runtime.py +++ b/pySim/runtime.py @@ -64,7 +64,7 @@ class RuntimeState: self.mf.add_file(f) # go back to MF before the next steps (addon probing might have changed DF) - self.card._scc.select_file('3F00') + self.lchan[0].select('MF') # add application ADFs + MF-files from profile apps = self._match_applications()