diff --git a/NfcReaderService.py b/NfcReaderService.py index 721e4fb..68c2896 100644 --- a/NfcReaderService.py +++ b/NfcReaderService.py @@ -43,7 +43,7 @@ class NfcReaderService: if uid_hex == self._last_uid: connection.disconnect() - time.sleep(0.5) + time.sleep(1) self._last_uid = None continue @@ -57,7 +57,7 @@ class NfcReaderService: self._last_write = now except (CardConnectionException, NoCardException): - pass + time.sleep(0.5) finally: try: