Fix song saving

This commit is contained in:
Jon Tibble 2010-07-05 22:23:39 +01:00
parent 4439625013
commit c8faf0cc08

View File

@ -77,8 +77,9 @@ class SongXMLBuilder(object):
The actual text of the verse to be stored.
"""
#log.debug(u'add_verse_to_lyrics %s, %s\n%s' % (type, number, content))
verse = etree.SubElement(self.lyrics, u'verse', type=type, label=number)
verse = etree.Element(u'verse', type=type, label=number)
verse.text = etree.CDATA(content)
self.lyrics.append(verse)
def dump_xml(self):
"""