From e30cc1fa1f73a9c67d7226b9508eec51360e9307 Mon Sep 17 00:00:00 2001 From: Markus Meissner Date: Wed, 9 Sep 2020 15:06:31 +0200 Subject: [PATCH] fix import in cli.program --- pynitrokey/cli/program.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pynitrokey/cli/program.py b/pynitrokey/cli/program.py index b4c49f5c..d3f71ce1 100644 --- a/pynitrokey/cli/program.py +++ b/pynitrokey/cli/program.py @@ -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 @@ -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)