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
|
||||
# just ignore any non integers on the end (including floats))
|
||||
match = re.match(u'(\D*)(\d+)', verse_name)
|
||||
if match is not None:
|
||||
if match:
|
||||
verse_type = match.group(1).strip()
|
||||
verse_number = match.group(2)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user