From 9f9bd828491e5d3f5e89b27ccbdf7de435927bf8 Mon Sep 17 00:00:00 2001 From: Pascal Deneaux Date: Sun, 3 Feb 2019 14:45:24 +0100 Subject: [PATCH] remove the flush=True argument it causes a failure in Circuitpython --- examples/pn532_simpletest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pn532_simpletest.py b/examples/pn532_simpletest.py index 050931a..ab4b308 100644 --- a/examples/pn532_simpletest.py +++ b/examples/pn532_simpletest.py @@ -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