Philipp Hörist pushed to branch master at gajim / python-nbxmpp

Commits:

1 changed file:

Changes:

  • nbxmpp/modules/openpgp.py
    ... ... @@ -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))