Simplified if statment

This commit is contained in:
phill-ridout 2013-02-18 17:15:07 +00:00
parent ca2b2db640
commit ea86ce905c

View File

@ -187,7 +187,7 @@ class SongShowPlusImport(SongImport):
# 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(u'(\D*)(\d+)', verse_name)
if match is not None:
if match:
verse_type = match.group(1).strip()
verse_number = match.group(2)
else: