forked from openlp/openlp
PEP8
This commit is contained in:
parent
c3e9d0c5b3
commit
5eb0ac618e
@ -139,8 +139,6 @@ class WorshipAssistantImport(SongImport):
|
|||||||
# drop the square brackets
|
# drop the square brackets
|
||||||
right_bracket = line.find(']')
|
right_bracket = line.find(']')
|
||||||
content = line[1:right_bracket].lower()
|
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)
|
match = re.match('(\D*)(\d+)', content)
|
||||||
if match is not None:
|
if match is not None:
|
||||||
verse_tag = match.group(1)
|
verse_tag = match.group(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user