From 4e3b92516da9274068c9b2210dd670b14d40ceaa Mon Sep 17 00:00:00 2001 From: Philip Ridout Date: Wed, 24 Jul 2013 19:41:38 +0100 Subject: [PATCH] changed 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 bb22bb52e..ffc306ac8 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 reserverd word, we have to recompile it. xml = re.compile(u'').sub(u'', xml) xml = re.compile(u'').sub(u'', xml) @@ -239,7 +239,7 @@ class FoilPresenter(object): self._process_authors(foilpresenterfolie, song) self._process_songbooks(foilpresenterfolie, song) self._process_topics(foilpresenterfolie, song) - if not self.skip_song: + if not self.save_song: clean_song(self.manager, song) self.manager.save_object(song) @@ -432,7 +432,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_') \