X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;ds=sidebyside;f=bindings%2Fpython%2Fnotmuch%2Fthread.py;fp=bindings%2Fpython%2Fnotmuch%2Fthread.py;h=03e472ddc8984ae98abf8d92a077c37c5fe481db;hb=83b256b12be25b29f915587342b5ccb139864268;hp=7393097bf326c9246e3fcb9aff5b80d2aebc8bc4;hpb=4a6642a2a1e2d15f71fff6b6a0b4bbb0296e2bdb;p=notmuch diff --git a/bindings/python/notmuch/thread.py b/bindings/python/notmuch/thread.py index 7393097b..03e472dd 100644 --- a/bindings/python/notmuch/thread.py +++ b/bindings/python/notmuch/thread.py @@ -246,7 +246,7 @@ class Thread(object): """ if self._thread is None: raise NotmuchError(STATUS.NOT_INITIALIZED) - return Thread._get_thread_id(self._thread) + return Thread._get_thread_id(self._thread).decode('utf-8', errors='ignore') _get_total_messages = nmlib.notmuch_thread_get_total_messages _get_total_messages.argtypes = [NotmuchThreadP]