From 59b7e9946509a2f52275eb82dc9707d5d0a275bc Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Tue, 16 Apr 2013 23:13:52 +0000 Subject: [PATCH] Fix another bug which was raising UnicodeDecodeErrors due to no encoding found. --- gnupg/parsers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnupg/parsers.py b/gnupg/parsers.py index 69a14e5..e83a03d 100644 --- a/gnupg/parsers.py +++ b/gnupg/parsers.py @@ -628,7 +628,7 @@ class Crypt(Verify): __bool__ = __nonzero__ 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): """Parse a status code from the attached GnuPG process.