Skip to content

Commit

Permalink
Merge PR #204
Browse files Browse the repository at this point in the history
  • Loading branch information
dainnilsson committed Feb 28, 2024
2 parents a5bd97c + 526e1ab commit a5357dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/acr122usam.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"""

import time
import six

from fido2.utils import sha256
from fido2.ctap1 import CTAP1
Expand Down Expand Up @@ -78,7 +77,7 @@ def apdu_plain(self, apdu, protocol=None):
"""

# print('>> %s' % b2a_hex(apdu))
resp, sw1, sw2 = self._conn.transmit(list(six.iterbytes(apdu)), protocol)
resp, sw1, sw2 = self._conn.transmit(list(iter(apdu)), protocol)
response = bytes(bytearray(resp))
# print('<< [0x%04x] %s' % (sw1 * 0x100 + sw2, b2a_hex(response)))

Expand Down

0 comments on commit a5357dd

Please sign in to comment.