From 674260eadb5dd53c7b12125d2419cba6091bf6f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armin=20K=C3=B6hler?= Date: Wed, 18 May 2011 21:07:08 +0200 Subject: [PATCH] fix bug https://bugs.launchpad.net/openlp/+bug/779995 --- openlp/plugins/songs/lib/foilpresenterimport.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/plugins/songs/lib/foilpresenterimport.py b/openlp/plugins/songs/lib/foilpresenterimport.py index c5dfd5d96..8cd328808 100644 --- a/openlp/plugins/songs/lib/foilpresenterimport.py +++ b/openlp/plugins/songs/lib/foilpresenterimport.py @@ -422,7 +422,8 @@ class FoilPresenter(object): VerseType.Tags[VerseType.PreChorus]: 1 } for strophe in foilpresenterfolie.strophen.strophe: - text = self._child(strophe.text_) + text = self._child(strophe.text_) if hasattr(strophe, u'text_') \ + else u'' verse_name = self._child(strophe.key) children = strophe.getchildren() sortnr = False