This commit is contained in:
EggMan20339 2024-05-09 22:46:21 -04:00
parent fdb0e045f8
commit 51cdc8d4e2

View File

@ -110,9 +110,10 @@ class CliInteraction(UserInteraction):
print("User Verification required.")
return True
def read_nfc_tag():
clf = None
def read_nfc_tag():
try:
import nfc
clf = nfc.ContactlessFrontend('usb')
tag = clf.connect(rdwr={'on-connect': lambda tag: False})
nfc = True