mirror of
https://github.com/beetbox/beets.git
synced 2026-01-08 17:08:12 +01:00
add missing trailing newline after lyrics block
this would yield a warning for every song
This commit is contained in:
parent
b303d5beb0
commit
36f84bfedd
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue