string format error

This commit is contained in:
Ken Roberts 2016-06-17 08:30:23 -07:00
parent c8754c86aa
commit 29043f0789
1 changed files with 1 additions and 1 deletions

View File

@ -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