This commit is contained in:
EggMan20339 2024-05-09 22:13:00 -04:00
parent 5c4b97fb59
commit e800879339

View File

@ -112,11 +112,11 @@ def read_nfc_tag():
tag = clf.connect(rdwr={'on-connect': lambda tag: False})
return tag.identifier if tag else None
except Exception as e:
print("NFC read error:", e)
# print("NFC read error:", e)
return None
finally:
if clf:
# clf.close()
clf.close()
pass
while True: