Fix another bug which was raising UnicodeDecodeErrors due to no encoding found.
parent
06662b98b0
commit
59b7e99465
|
@ -628,7 +628,7 @@ class Crypt(Verify):
|
||||||
__bool__ = __nonzero__
|
__bool__ = __nonzero__
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.data.decode(self.gpg.encoding, self.gpg.decode_errors)
|
return self.data.decode(self.gpg.encoding, self.gpg._decode_errors)
|
||||||
|
|
||||||
def handle_status(self, key, value):
|
def handle_status(self, key, value):
|
||||||
"""Parse a status code from the attached GnuPG process.
|
"""Parse a status code from the attached GnuPG process.
|
||||||
|
|
Loading…
Reference in New Issue