fixed interface to pyscard

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@774 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2012-04-23 13:12:07 +00:00
parent 3afa9cc1ab
commit fb52db7561

View File

@@ -478,7 +478,7 @@ class RelayOS(SmartcardOS):
def execute(self, msg):
# sendCommandAPDU() expects a list of APDU bytes
apdu = list(bytes(msg))
apdu = map(ord, msg)
try:
rapdu, sw1, sw2 = self.session.sendCommandAPDU(apdu)