remove the flush=True argument

it causes a failure in Circuitpython
This commit is contained in:
Pascal Deneaux 2019-02-03 14:45:24 +01:00 committed by GitHub
parent 915b2e2eb0
commit 9f9bd82849
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ print('Waiting for RFID/NFC card...')
while True:
# Check if a card is available to read
uid = pn532.read_passive_target(timeout=0.5)
print('.', end="", flush=True)
print('.', end="")
# Try again if no card is available.
if uid is None:
continue