From f8808164340bd84ccc1bfb21b86f75830d306986 Mon Sep 17 00:00:00 2001 From: Philip Ridout Date: Wed, 24 Jul 2013 19:43:56 +0100 Subject: [PATCH] change skip_song to save_song --- openlp/plugins/songs/lib/foilpresenterimport.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openlp/plugins/songs/lib/foilpresenterimport.py b/openlp/plugins/songs/lib/foilpresenterimport.py index 586b6ca3c..253cddb57 100644 --- a/openlp/plugins/songs/lib/foilpresenterimport.py +++ b/openlp/plugins/songs/lib/foilpresenterimport.py @@ -224,7 +224,7 @@ class FoilPresenter(object): song.search_lyrics = u'' song.verse_order = u'' song.search_title = u'' - self.skip_song = False + self.save_song = False # Because "text" seems to be an reserved word, we have to recompile it. xml = re.compile(u'').sub(u'', xml) xml = re.compile(u'').sub(u'', xml) @@ -238,7 +238,7 @@ class FoilPresenter(object): self._process_authors(song_xml, song) self._process_songbooks(song_xml, song) self._process_topics(song_xml, song) - if not self.skip_song: + if not self.save_song: clean_song(self.manager, song) self.manager.save_object(song) @@ -427,7 +427,7 @@ class FoilPresenter(object): self.importer.logError(self._child(foilpresenterfolie.titel), unicode(translate('SongsPlugin.FoilPresenterSongImport', 'Invalid Foilpresenter song file. No verses found.'))) - self.skip_song = True + self.save_song = True return for strophe in foilpresenterfolie.strophen.strophe: text = self._child(strophe.text_) if hasattr(strophe, u'text_') else u''