Merge pull request #16 from Tasm-Devil/master

remove the flush=True argument
This commit is contained in:
jerryneedell 2019-02-03 12:20:47 -05:00 committed by GitHub
commit c8acb3f9df
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