FIX get_ATR for ISO 14443-3 B

This commit is contained in:
Henryk Plötz 2010-04-18 09:12:39 +02:00
parent 6eaa66f534
commit 5baedf1e8e
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ class ACR122_Reader(Smartcard_Reader):
else:
return "\x3b\x80\x80\x01\x01"
elif self._current_target.type == utils.PN532_Target.TYPE_ISO14443B:
hist_bytes = self._current_target.atqb[5:9] + self._current_target.atqb[5:12]
hist_bytes = self._current_target.atqb[5:12]
if len(self._current_target.attrib_res) > 0:
hist_bytes.append(self._current_target.attrib_res[0] & 0xf0)
else: