This commit is contained in:
Armin Köhler 2011-05-18 21:07:08 +02:00
parent f222c3d583
commit 674260eadb
1 changed files with 2 additions and 1 deletions

View File

@ -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