mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-01-17 09:28:05 +00:00
Fix error message when no card is detected.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
215fdca9f8
commit
b24e109a3c
1 changed files with 1 additions and 1 deletions
|
|
@ -606,7 +606,7 @@ def main(args):
|
||||||
card.connection.connect()
|
card.connection.connect()
|
||||||
|
|
||||||
except CardRequestTimeoutException:
|
except CardRequestTimeoutException:
|
||||||
print('time-out: no card inserted during last 10s')
|
raise Exception('time-out: no card inserted during last 10s')
|
||||||
|
|
||||||
if (args.pin):
|
if (args.pin):
|
||||||
login(card, args)
|
login(card, args)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue