diff --git a/openlp/plugins/songs/lib/openlyricsxml.py b/openlp/plugins/songs/lib/openlyricsxml.py index 2d0863955..63d9f1025 100644 --- a/openlp/plugins/songs/lib/openlyricsxml.py +++ b/openlp/plugins/songs/lib/openlyricsxml.py @@ -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: