diff --git a/beetsplug/embedart.py b/beetsplug/embedart.py index 01f11d3a3..9c0efa51e 100644 --- a/beetsplug/embedart.py +++ b/beetsplug/embedart.py @@ -136,10 +136,12 @@ class EmbedCoverArtPlugin(BeetsPlugin): self.remove_artfile(album) def remove_artfile(self, album): + """Possibly delete the album art file for an album (if the + appropriate configuration option is enabled. + """ if self.config['remove_art_file'] and album.artpath: if os.path.isfile(album.artpath): - self._log.debug(u'Removing album art file ' - u'for {0}', album) + self._log.debug('Removing album art file for {0}', album) os.remove(album.artpath) album.artpath = None album.store()