mirror of
https://github.com/beetbox/beets.git
synced 2025-12-14 12:35:19 +01:00
cosmetic: do not use needless heredoc
This commit is contained in:
parent
91de8aac84
commit
e6adb5e7da
1 changed files with 2 additions and 7 deletions
|
|
@ -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 == '':
|
||||
|
|
|
|||
Loading…
Reference in a new issue