From 136e12eb0b57fcf50d31727d17fc459053e5fc9b Mon Sep 17 00:00:00 2001 From: Philip Ridout Date: Wed, 16 Mar 2011 17:50:37 +0000 Subject: [PATCH] Up to gushies standards hopefully! --- openlp/plugins/songs/lib/songshowplusimport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/plugins/songs/lib/songshowplusimport.py b/openlp/plugins/songs/lib/songshowplusimport.py index 17d7db445..d69160faa 100644 --- a/openlp/plugins/songs/lib/songshowplusimport.py +++ b/openlp/plugins/songs/lib/songshowplusimport.py @@ -175,7 +175,7 @@ class SongShowPlusImport(SongImport): WizardStrings.ImportingType % file_name) return True - def toOpenLPVerseTag(self, verseName, ignoreUnique=False): + def toOpenLPVerseTag(self, verseName, ignoreUnique=False): if verseName.find(" ") != -1: verseParts = verseName.split(" ") verseType = verseParts[0] @@ -197,7 +197,7 @@ class SongShowPlusImport(SongImport): else: if not self.otherList.has_key(verseName): if ignoreUnique: - return False + return None self.otherCount = self.otherCount + 1 self.otherList[verseName] = str(self.otherCount) verseTag = "O"