aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings/python/notmuch/threads.py
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python/notmuch/threads.py')
-rw-r--r--bindings/python/notmuch/threads.py2
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)