fixed problems on initialization

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@530 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2011-09-17 20:42:51 +00:00
parent dc3164422a
commit 3fc68b1682
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ class CardGenerator(object):
default_cardno = "1234567890"
logging.warning("Using default SAM parameters. PIN=%s, Card Nr=%s"
& (default_pin, default_cardno))
% (default_pin, default_cardno))
#TODO: Use user provided data
self.sam = SAM(default_pin, default_cardno)

View File

@@ -81,7 +81,7 @@ class SAM(object):
#Security Environments may be saved to/retrieved from this dictionary
self.saved_SEs = {}
self.current_SE = Security_Environment(self)
self.current_SE = Security_Environment(self.mf, self)
def set_MF(self, mf):
"""