forked from openlp/openlp
string format error
This commit is contained in:
parent
c8754c86aa
commit
29043f0789
@ -643,7 +643,7 @@ class OpenLyrics(object):
|
||||
# Append text from tail and add formatting end tag.
|
||||
# TODO: Verify format() with template variables
|
||||
if element.tag == NSMAP % 'tag' and use_endtag:
|
||||
text += '{/{name}}}'.format(name=element.get('name'))
|
||||
text += '{{/{name}}}'.format(name=element.get('name'))
|
||||
# Append text from tail.
|
||||
if element.tail:
|
||||
text += element.tail
|
||||
|
Loading…
Reference in New Issue
Block a user