aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings/python/notmuch/thread.py
diff options
context:
space:
mode:
authorGravatar Justus Winter <4winter@informatik.uni-hamburg.de>2011-12-14 11:58:25 +0100
committerGravatar Sebastian Spaeth <Sebastian@SSpaeth.de>2012-01-02 16:34:56 +0100
commit83b256b12be25b29f915587342b5ccb139864268 (patch)
treed0426a15d3a3834a5b5d9381c8ae9ea361badcdc /bindings/python/notmuch/thread.py
parent4a6642a2a1e2d15f71fff6b6a0b4bbb0296e2bdb (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.py2
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]