forked from public/pysim
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:
@@ -64,7 +64,7 @@ class RuntimeState:
|
|||||||
self.mf.add_file(f)
|
self.mf.add_file(f)
|
||||||
|
|
||||||
# go back to MF before the next steps (addon probing might have changed DF)
|
# 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
|
# add application ADFs + MF-files from profile
|
||||||
apps = self._match_applications()
|
apps = self._match_applications()
|
||||||
|
|||||||
Reference in New Issue
Block a user