X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Fmessage.py;h=49a58d1fb2cfd8e10e6c6db6850151f0dc0fe48f;hb=02f1c3b2120033af5b45b109d35ba73775219abf;hp=ce8e7181b2743f162843c8f2d387baf3515d3f9c;hpb=c4d824bc1ee4e49c86315cd3e7f0a4756aff3811;p=obsolete%2Fnotmuch-old diff --git a/bindings/python/notmuch/message.py b/bindings/python/notmuch/message.py index ce8e7181..49a58d1f 100644 --- a/bindings/python/notmuch/message.py +++ b/bindings/python/notmuch/message.py @@ -427,7 +427,7 @@ class Message(object): header = Message._get_header(self._msg, header) if header == None: raise NotmuchError(STATUS.NULL_POINTER) - return header.decode('UTF-8', errors='ignore') + return header.decode('UTF-8', 'ignore') def get_filename(self): """Returns the file path of the message file