forked from openlp/openlp
Up to gushies standards hopefully!
This commit is contained in:
parent
b6d2423cb3
commit
136e12eb0b
@ -175,7 +175,7 @@ class SongShowPlusImport(SongImport):
|
|||||||
WizardStrings.ImportingType % file_name)
|
WizardStrings.ImportingType % file_name)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def toOpenLPVerseTag(self, verseName, ignoreUnique=False):
|
def toOpenLPVerseTag(self, verseName, ignoreUnique=False):
|
||||||
if verseName.find(" ") != -1:
|
if verseName.find(" ") != -1:
|
||||||
verseParts = verseName.split(" ")
|
verseParts = verseName.split(" ")
|
||||||
verseType = verseParts[0]
|
verseType = verseParts[0]
|
||||||
@ -197,7 +197,7 @@ class SongShowPlusImport(SongImport):
|
|||||||
else:
|
else:
|
||||||
if not self.otherList.has_key(verseName):
|
if not self.otherList.has_key(verseName):
|
||||||
if ignoreUnique:
|
if ignoreUnique:
|
||||||
return False
|
return None
|
||||||
self.otherCount = self.otherCount + 1
|
self.otherCount = self.otherCount + 1
|
||||||
self.otherList[verseName] = str(self.otherCount)
|
self.otherList[verseName] = str(self.otherCount)
|
||||||
verseTag = "O"
|
verseTag = "O"
|
||||||
|
Loading…
Reference in New Issue
Block a user