[openpgp] Fix error logging

Fixes #446
This commit is contained in:
lovetox
2020-11-22 00:05:04 +01:00
parent 2fa94478f0
commit e4a88c9d18

View File

@@ -114,7 +114,7 @@ class PythonGnuPG(gnupg.GPG):
result = super().import_keys(data)
if not result:
log.error('Could not import key')
log.error(result.results[0])
log.error(result)
return
if not self.validate_key(data, str(jid)):