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
This commit is contained in:
Philipp Maier 2023-12-07 10:39:21 +01:00
parent 880db37356
commit b8b61bf8af
1 changed files with 1 additions and 1 deletions

View File

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