diff options
Diffstat (limited to 'bindings/python/notmuch/threads.py')
-rw-r--r-- | bindings/python/notmuch/threads.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/notmuch/threads.py b/bindings/python/notmuch/threads.py index fb053f93..a6441640 100644 --- a/bindings/python/notmuch/threads.py +++ b/bindings/python/notmuch/threads.py @@ -176,5 +176,5 @@ class Threads(Python3StringMixIn): def __del__(self): """Close and free the notmuch Threads""" - if self._threads is not None: + if self._threads: self._destroy(self._threads) |