Fix exporting OpenLyrics

This commit is contained in:
Samuel Mehrbrodt 2016-01-04 20:00:19 +01:00
parent 245e374171
commit d274b6cb08
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ class OpenLyrics(object):
if song.songbookentries:
songbooks = etree.SubElement(properties, 'songbooks')
for songbookentry in song.songbookentries:
element = self._add_text_to_element('songbook', songbooks, None, songbookentry.songbook)
element = self._add_text_to_element('songbook', songbooks, None, songbookentry.songbook.name)
if songbookentry.entry:
element.set('entry', songbookentry.entry)
if song.topics: