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