Commit e4a88c9d authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[openpgp] Fix error logging

Fixes #446
parent 2fa94478
Pipeline #6756 passed with stage
in 3 seconds
...@@ -114,7 +114,7 @@ class PythonGnuPG(gnupg.GPG): ...@@ -114,7 +114,7 @@ class PythonGnuPG(gnupg.GPG):
result = super().import_keys(data) result = super().import_keys(data)
if not result: if not result:
log.error('Could not import key') log.error('Could not import key')
log.error(result.results[0]) log.error(result)
return return
if not self.validate_key(data, str(jid)): if not self.validate_key(data, str(jid)):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment