Minor fix.
This commit is contained in:
parent
197d65877f
commit
a7ca76f611
|
@ -32,7 +32,7 @@ class Deleter( object ):
|
||||||
startup_notes = []
|
startup_notes = []
|
||||||
|
|
||||||
for note in main_notebook.notes:
|
for note in main_notebook.notes:
|
||||||
if note.title == "contact us": # FIXME: make the note title to delete not hard-coded
|
if note and note.title == "contact us": # FIXME: make the note title to delete not hard-coded
|
||||||
print "deleting note %s: %s" % ( note.object_id, note.title )
|
print "deleting note %s: %s" % ( note.object_id, note.title )
|
||||||
main_notebook.remove_note( note )
|
main_notebook.remove_note( note )
|
||||||
|
|
||||||
|
|
Reference in New Issue