diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2011-12-14 11:58:25 +0100 |
---|---|---|
committer | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2012-01-02 16:34:56 +0100 |
commit | 83b256b12be25b29f915587342b5ccb139864268 (patch) | |
tree | d0426a15d3a3834a5b5d9381c8ae9ea361badcdc /bindings/python/notmuch/thread.py | |
parent | 4a6642a2a1e2d15f71fff6b6a0b4bbb0296e2bdb (diff) |
python: add missing conversions from and to utf-8
Diffstat (limited to 'bindings/python/notmuch/thread.py')
-rw-r--r-- | bindings/python/notmuch/thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
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] |