This commit is contained in:
Samuel Mehrbrodt 2014-06-25 17:04:13 +02:00
parent c3e9d0c5b3
commit 5eb0ac618e

View File

@ -139,8 +139,6 @@ class WorshipAssistantImport(SongImport):
# drop the square brackets
right_bracket = line.find(']')
content = line[1:right_bracket].lower()
# have we got any digits? If so, verse number is everything from the digits to the end (openlp does not
# have concept of part verses, so just ignore any non integers on the end (including floats))
match = re.match('(\D*)(\d+)', content)
if match is not None:
verse_tag = match.group(1)