mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 10:28:10 +01:00
prepare: Add warning if local PGP key not found.
This commit is contained in:
@@ -493,6 +493,8 @@ def importPubkey(gpg, pubkey_filename, pubkeyurls):
|
|||||||
return
|
return
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.warning(f"Import from file failed: {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:
|
for url in pubkeyurls:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user