Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2019-04-02 20:53:51 +0300
committerPhilipp Hörist <philipp@hoerist.com>2019-04-02 20:54:02 +0300
commit6bdd04662e78d57dc015661bcd6a396c731bd4cf (patch)
tree3e24410c398304475e7b20d7390366ee420b05a3 /nbxmpp/modules
parent414b12cb028e9c5e420a1c24ede0721309f067b6 (diff)
OpenPGP: Fix secret key request
Diffstat (limited to 'nbxmpp/modules')
-rw-r--r--nbxmpp/modules/openpgp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/modules/openpgp.py b/nbxmpp/modules/openpgp.py
index ccd157b..db5c677 100644
--- a/nbxmpp/modules/openpgp.py
+++ b/nbxmpp/modules/openpgp.py
@@ -271,7 +271,7 @@ class OpenPGP:
'PGP secretkey has no data')
try:
- key = b64decode(data.getData(), return_type=bytes)
+ key = b64decode(data, return_type=bytes)
except Exception as error:
return raise_error(log.warning, stanza, 'stanza-malformed',
str(error))