Attempt to make Travis happy
This commit is contained in:
parent
ea97723594
commit
fae45efa06
1 changed files with 2 additions and 3 deletions
|
@ -29,7 +29,6 @@ type RFID tag
|
||||||
|
|
||||||
import board
|
import board
|
||||||
import busio
|
import busio
|
||||||
from digitalio import DigitalInOut
|
|
||||||
#
|
#
|
||||||
# NOTE: pick the import that matches the interface being used
|
# NOTE: pick the import that matches the interface being used
|
||||||
#
|
#
|
||||||
|
@ -84,7 +83,7 @@ print("")
|
||||||
print('Found card with UID:', [hex(i) for i in uid])
|
print('Found card with UID:', [hex(i) for i in uid])
|
||||||
print("Authenticating block 4 ...")
|
print("Authenticating block 4 ...")
|
||||||
|
|
||||||
authenticated = pn532.mifare_classic_authenticate_block(uid,4,MIFARE_CMD_AUTH_B,key)
|
authenticated = pn532.mifare_classic_authenticate_block(uid, 4, MIFARE_CMD_AUTH_B, key)
|
||||||
if not authenticated:
|
if not authenticated:
|
||||||
print("Authentication failed!")
|
print("Authentication failed!")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue