From 8993f69c0cd3404946de09e8fa78a56b43b9cd28 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Wed, 16 Apr 2008 00:32:09 +0000 Subject: [PATCH] Only hide recent notes if recent_notes is None. --- view/Note_tree_area.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/Note_tree_area.py b/view/Note_tree_area.py index 03ddde0..56bba11 100644 --- a/view/Note_tree_area.py +++ b/view/Note_tree_area.py @@ -32,7 +32,7 @@ class Note_tree_area( Div ): ) or None, tree_id = "note_tree_root_table", ), - ( recent_notes and notebook.name != u"trash" ) and Span( + ( recent_notes is not None and notebook.name != u"trash" ) and Span( H4( u"recent notes", id = u"recent_notes_area_title", ),