add missing trailing newline after lyrics block

this would yield a warning for every song
This commit is contained in:
Antoine Beaupré 2017-07-17 11:44:06 -04:00
parent b303d5beb0
commit 36f84bfedd
No known key found for this signature in database
GPG key ID: 792152527B75921E

View file

@ -781,9 +781,9 @@ class LyricsPlugin(plugins.BeetsPlugin):
u'-' * len(tmpalbum.strip()))
title_str = u":index:`%s`" % item.title.strip()
block = u'| ' + item.lyrics.replace(u'\n', u'\n| ')
self.rest += u"%s\n%s\n\n%s\n" % (title_str,
u'~' * len(title_str),
block)
self.rest += u"%s\n%s\n\n%s\n\n" % (title_str,
u'~' * len(title_str),
block)
def writerest_indexes(self, directory):
"""Write conf.py and index.rst files necessary for Sphinx