From 65cf6789a7798cdc0403d13e2fbb0cc495a2cdf7 Mon Sep 17 00:00:00 2001 From: tecnovert Date: Wed, 26 Mar 2025 12:33:33 +0200 Subject: [PATCH] prepare: Add warning if local PGP key not found. --- basicswap/bin/prepare.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/basicswap/bin/prepare.py b/basicswap/bin/prepare.py index b663eb0..b5f3a11 100755 --- a/basicswap/bin/prepare.py +++ b/basicswap/bin/prepare.py @@ -493,6 +493,8 @@ def importPubkey(gpg, pubkey_filename, pubkeyurls): return except Exception as e: logging.warning(f"Import from file failed: {e}") + else: + logger.warning(f"Public key file {pubkey_filename} not found locally.") for url in pubkeyurls: try: