selecting MF on reset and power up

This commit is contained in:
Frank Morgner
2012-10-11 22:22:57 +02:00
parent 80f86b81ed
commit fd4ed5162c

View File

@@ -38,6 +38,7 @@ class SmartcardOS(object):
def powerUp(self): def powerUp(self):
"""Powers up the card""" """Powers up the card"""
self.mf.current = self.mf
pass pass
def powerDown(self): def powerDown(self):
@@ -46,6 +47,7 @@ class SmartcardOS(object):
def reset(self): def reset(self):
"""Performs a warm reset of the card (no power down)""" """Performs a warm reset of the card (no power down)"""
self.mf.current = self.mf
pass pass
def execute(self, msg): def execute(self, msg):