X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Fmessage.py;fp=bindings%2Fpython%2Fnotmuch%2Fmessage.py;h=de0fb4151e52e50c3f3eb684932b65820d74cf82;hp=d242097a8299eff8885db7c93a64e9b3b1de8b27;hb=5ae8ae13ba9190fc9915dced0be6cfb382bba308;hpb=2fd4e76006a44e11659d7723a75c6ba05c3c85b5 diff --git a/bindings/python/notmuch/message.py b/bindings/python/notmuch/message.py index d242097a..de0fb415 100644 --- a/bindings/python/notmuch/message.py +++ b/bindings/python/notmuch/message.py @@ -482,7 +482,7 @@ class Message(Python3StringMixIn): if status != 0: raise NotmuchError(status) - return value.value.decode('utf-8') + return value.value.decode('utf-8') if value is not None else None def get_properties(self, prop="", exact=False): """ Get the properties of the message, returning a generator of