fix style
This commit is contained in:
parent
2d72e02051
commit
ff53bb1e32
@ -72,7 +72,7 @@ class Tester:
|
|||||||
print("--- NFC ---")
|
print("--- NFC ---")
|
||||||
print(list(CtapPcscDevice.list_devices()))
|
print(list(CtapPcscDevice.list_devices()))
|
||||||
dev = next(CtapPcscDevice.list_devices(), None)
|
dev = next(CtapPcscDevice.list_devices(), None)
|
||||||
except (ModuleNotFoundError, ImportError) as e:
|
except (ModuleNotFoundError, ImportError):
|
||||||
print("One of NFC library is not installed properly.")
|
print("One of NFC library is not installed properly.")
|
||||||
if not dev:
|
if not dev:
|
||||||
raise RuntimeError("No FIDO device found")
|
raise RuntimeError("No FIDO device found")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user