Skip to content

Commit

Permalink
fix import in cli.program
Browse files Browse the repository at this point in the history
  • Loading branch information
daringer committed Sep 9, 2020
1 parent 0c96ecf commit e30cc1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pynitrokey/cli/program.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

from pynitrokey.helpers import local_print, local_critical

from pynitrokey.fido2 import find
from pynitrokey.fido2 import hot_patch_windows_libusb


Expand Down Expand Up @@ -67,6 +68,7 @@ def bootloader(serial, firmware):
except CtapError as e:
if e.code == CtapError.ERR.INVALID_COMMAND:
local_print("Not in bootloader mode. Attempting to switch...")
local_print("Please confirm with button on key!")
else:
local_critical(e)

Expand Down

0 comments on commit e30cc1f

Please sign in to comment.