From fb52db7561c3c75fa41cf9a8575bba7118210064 Mon Sep 17 00:00:00 2001 From: frankmorgner Date: Mon, 23 Apr 2012 13:12:07 +0000 Subject: [PATCH] fixed interface to pyscard git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@774 96b47cad-a561-4643-ad3b-153ac7d7599c --- virtualsmartcard/src/vpicc/virtualsmartcard/VirtualSmartcard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtualsmartcard/src/vpicc/virtualsmartcard/VirtualSmartcard.py b/virtualsmartcard/src/vpicc/virtualsmartcard/VirtualSmartcard.py index b801cc8..f4357b2 100644 --- a/virtualsmartcard/src/vpicc/virtualsmartcard/VirtualSmartcard.py +++ b/virtualsmartcard/src/vpicc/virtualsmartcard/VirtualSmartcard.py @@ -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)