Skip to content

Commit fae45ef

Browse files
Attempt to make Travis happy
1 parent ea97723 commit fae45ef

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/readwrite_mifare.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@
2929

3030
import board
3131
import busio
32-
from digitalio import DigitalInOut
3332
#
3433
# NOTE: pick the import that matches the interface being used
3534
#
36-
from adafruit_pn532.adafruit_pn532 import MIFARE_CMD_AUTH_B
35+
from adafruit_pn532.adafruit_pn532 import MIFARE_CMD_AUTH_B
3736
from adafruit_pn532.i2c import PN532_I2C
3837
#from adafruit_pn532.spi import PN532_SPI
3938
#from adafruit_pn532.uart import PN532_UART
@@ -84,7 +83,7 @@
8483
print('Found card with UID:', [hex(i) for i in uid])
8584
print("Authenticating block 4 ...")
8685

87-
authenticated = pn532.mifare_classic_authenticate_block(uid,4,MIFARE_CMD_AUTH_B,key)
86+
authenticated = pn532.mifare_classic_authenticate_block(uid, 4, MIFARE_CMD_AUTH_B, key)
8887
if not authenticated:
8988
print("Authentication failed!")
9089

0 commit comments

Comments
 (0)