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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user