X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Fmessage.py;h=de0fb4151e52e50c3f3eb684932b65820d74cf82;hb=1235902ed2dbca76a604071250f15a274125bc3b;hp=d242097a8299eff8885db7c93a64e9b3b1de8b27;hpb=3a747e714c3e99a725619d09d832b9ac683733fe;p=notmuch 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