From e35c9c7b4aac62c2b995285ecc2b284c7d3dfd0d Mon Sep 17 00:00:00 2001 From: avirgovi Date: Wed, 16 Mar 2022 15:42:10 +0100 Subject: [PATCH] display pycoin not found error message --- ckcc/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ckcc/cli.py b/ckcc/cli.py index 8af8d2e..b4fa963 100755 --- a/ckcc/cli.py +++ b/ckcc/cli.py @@ -324,7 +324,8 @@ def get_pubkey(subpath): try: from pycoin.key.BIP32Node import BIP32Node except Exception: - raise click.Abort("pycoin must be installed, not found.") + click.echo("pycoin must be installed, not found.", err=True) + sys.exit(1) with get_device() as dev: