aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings/python/notmuch/query.py
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python/notmuch/query.py')
-rw-r--r--bindings/python/notmuch/query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/notmuch/query.py b/bindings/python/notmuch/query.py
index 27bc4df7..756e63b5 100644
--- a/bindings/python/notmuch/query.py
+++ b/bindings/python/notmuch/query.py
@@ -203,5 +203,5 @@ class Query(object):
def __del__(self):
"""Close and free the Query"""
- if self._query is not None:
+ if self._query:
self._destroy(self._query)