X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Fthreads.py;h=a6441640605b13bf909d8a7e77c5cc609e98718a;hb=162687a99e412098729d639ed7bc27f01372cb84;hp=fb053f939de64ca42b968571ab56a68fc0e36ec3;hpb=1f08664a6b8f7cba63f63855833f877b66bbbe05;p=obsolete%2Fnotmuch-old 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)