cosmetic: do not use needless heredoc

This commit is contained in:
Antoine Beaupré 2017-07-15 14:47:36 -04:00
parent 91de8aac84
commit e6adb5e7da
No known key found for this signature in database
GPG key ID: 792152527B75921E

View file

@ -723,13 +723,8 @@ class LyricsPlugin(plugins.BeetsPlugin):
if item is None:
return
self.artist = item.artist
self.rst = u'''%s
%s
.. contents::
:local:
''' % (self.artist, u'=' * len(self.artist))
self.rst = u"%s\n%s\n\n.. contents::\n :local:\n\n" \
% (self.artist, u'=' * len(self.artist))
if self.album != item.album:
tmpalbum = self.album = item.album
if self.album == '':