From d274b6cb08e8ccf006c8e88113b3fccac391b7d6 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Mon, 4 Jan 2016 20:00:19 +0100 Subject: [PATCH] Fix exporting OpenLyrics --- openlp/plugins/songs/lib/openlyricsxml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: