forked from openlp/openlp
simplified if statment
This commit is contained in:
parent
bbc4d82ae0
commit
626ca208c7
@ -195,7 +195,7 @@ class SongShowPlusImport(SongImport):
|
|||||||
# to the end (openlp does not have concept of part verses, so
|
# to the end (openlp does not have concept of part verses, so
|
||||||
# just ignore any non integers on the end (including floats))
|
# just ignore any non integers on the end (including floats))
|
||||||
match = re.match(u'(\D*)(\d+)', verse_name)
|
match = re.match(u'(\D*)(\d+)', verse_name)
|
||||||
if match is not None:
|
if match:
|
||||||
verse_type = match.group(1).strip()
|
verse_type = match.group(1).strip()
|
||||||
verse_number = match.group(2)
|
verse_number = match.group(2)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user