diff --git a/view/Main_page.py b/view/Main_page.py index a95f815..1247570 100644 --- a/view/Main_page.py +++ b/view/Main_page.py @@ -57,7 +57,11 @@ class Main_page( Page ): def json( string ): return escape( unicode( Json( string ) ), quote = True ) - title = None + if len( notes ) == 1: + title = notes[ 0 ].title + else: + title = None + Page.__init__( self, title,