diff options
Diffstat (limited to 'bindings/python/notmuch/messages.py')
-rw-r--r-- | bindings/python/notmuch/messages.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/notmuch/messages.py b/bindings/python/notmuch/messages.py index 6b024cbe..251fa3a3 100644 --- a/bindings/python/notmuch/messages.py +++ b/bindings/python/notmuch/messages.py @@ -184,7 +184,7 @@ class Messages(object): def __del__(self): """Close and free the notmuch Messages""" - if self._msgs is not None: + if self._msgs: self._destroy(self._msgs) def format_messages(self, format, indent=0, entire_thread=False): |