forked from openlp/openlp
more lower case tags
This commit is contained in:
parent
425ec8ece0
commit
18f43fc858
@ -231,7 +231,7 @@ class OpenSongImport(SongImport):
|
|||||||
if thisline.startswith(u'['):
|
if thisline.startswith(u'['):
|
||||||
# drop the square brackets
|
# drop the square brackets
|
||||||
right_bracket = thisline.find(u']')
|
right_bracket = thisline.find(u']')
|
||||||
content = thisline[1:right_bracket].upper()
|
content = thisline[1:right_bracket].lower()
|
||||||
# have we got any digits?
|
# have we got any digits?
|
||||||
# If so, versenumber is everything from the digits
|
# If so, versenumber is everything from the digits
|
||||||
# to the end (even if there are some alpha chars on the end)
|
# to the end (even if there are some alpha chars on the end)
|
||||||
@ -276,9 +276,9 @@ class OpenSongImport(SongImport):
|
|||||||
# figure out the presentation order, if present
|
# figure out the presentation order, if present
|
||||||
if u'presentation' in fields and root.presentation != u'':
|
if u'presentation' in fields and root.presentation != u'':
|
||||||
order = unicode(root.presentation)
|
order = unicode(root.presentation)
|
||||||
# We make all the tags in the lyrics upper case, so match that here
|
# We make all the tags in the lyrics lower case, so match that here
|
||||||
# and then split into a list on the whitespace
|
# and then split into a list on the whitespace
|
||||||
order = order.upper().split()
|
order = order.lower().split()
|
||||||
for tag in order:
|
for tag in order:
|
||||||
match = re.match(u'(.*)(\d+.*)', tag)
|
match = re.match(u'(.*)(\d+.*)', tag)
|
||||||
if match is not None:
|
if match is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user