diff options
Diffstat (limited to 'alot/widgets')
-rw-r--r-- | alot/widgets/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/widgets/search.py b/alot/widgets/search.py index 70c0064a..6c351f4a 100644 --- a/alot/widgets/search.py +++ b/alot/widgets/search.py @@ -54,7 +54,7 @@ class ThreadlineWidget(urwid.AttrMap): datestring = '' if self.thread: newest = self.thread.get_newest_date() - if newest != None: + if newest is not None: datestring = settings.represent_datetime(newest) datestring = pad(datestring) width = len(datestring) |