decode error message returnd by GPG. Fixes #4893

This commit is contained in:
Yann Leboulanger 2009-03-11 09:57:24 +00:00
parent 93fd47256d
commit cbef579dd8
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ if gajim.HAVE_GPG:
# Encryption succeeded, even if there is output on stderr. Maybe
# verbose is on
error = ''
return self._stripHeaderFooter(output), error
return self._stripHeaderFooter(output), helpers.decode_string(error)
def decrypt(self, str_, keyID):
proc = self.run(['--decrypt', '-q', '-u %s'%keyID], create_fhs=['stdin', 'stdout'])