From 5082ab09d4dd471692b580a830d08d7045c9d6de Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Sat, 20 Oct 2018 04:05:44 +0200 Subject: [PATCH] vicc: temporarily drop python3 compatibility for relay fixes https://github.com/frankmorgner/vsmartcard/issues/129 --- virtualsmartcard/src/vpicc/virtualsmartcard/cards/Relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtualsmartcard/src/vpicc/virtualsmartcard/cards/Relay.py b/virtualsmartcard/src/vpicc/virtualsmartcard/cards/Relay.py index 830bc9f..2504da9 100644 --- a/virtualsmartcard/src/vpicc/virtualsmartcard/cards/Relay.py +++ b/virtualsmartcard/src/vpicc/virtualsmartcard/cards/Relay.py @@ -83,7 +83,7 @@ class RelayOS(SmartcardOS): logging.error("Error getting ATR: %s", e.message) sys.exit() - return b"".join([bytes(b) for b in atr]) + return "".join([chr(b) for b in atr]) def powerUp(self): # When powerUp is called multiple times the session is valid (and the