Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
-
6bdd0466
by Philipp Hörist at 2019-04-02T17:54:02Z
1 changed file:
Changes:
| ... | ... | @@ -271,7 +271,7 @@ class OpenPGP: |
| 271 | 271 |
'PGP secretkey has no data')
|
| 272 | 272 |
|
| 273 | 273 |
try:
|
| 274 |
- key = b64decode(data.getData(), return_type=bytes)
|
|
| 274 |
+ key = b64decode(data, return_type=bytes)
|
|
| 275 | 275 |
except Exception as error:
|
| 276 | 276 |
return raise_error(log.warning, stanza, 'stanza-malformed',
|
| 277 | 277 |
str(error))
|