Mercurial > hgweb > health
changeset 2797:0073a53daca7
health_crypto. Fix bug #52366: Error when signing the death certificate
| author | Luis Falcon <falcon@gnu.org> |
|---|---|
| date | Wed, 08 Nov 2017 13:46:58 +0000 |
| parents | 0f0bf1c7dff4 |
| children | 41034e899a4c |
| files | tryton/health_crypto/health_crypto.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tryton/health_crypto/health_crypto.py +++ b/tryton/health_crypto/health_crypto.py @@ -446,7 +446,7 @@ ''' Return true if the document has been altered''' result = True if (name=='digest_current'): - result = HealthCrypto().gen_hash(serial_doc.encode('uft-8')) + result = HealthCrypto().gen_hash(serial_doc) if (name=='serializer_current'): result = serial_doc
