Fix StrubPlugin.write_item() expected arguments

Fix #1338.
This commit is contained in:
Bruno Cauet 2015-02-24 19:24:16 +01:00
parent c91e8cb782
commit 65a88e2bf4

View file

@ -139,7 +139,7 @@ class ScrubPlugin(BeetsPlugin):
self._log.error(u'could not scrub {0}: {1}',
util.displayable_path(path), exc)
def write_item(self, path):
def write_item(self, item, path, tags):
"""Automatically embed art into imported albums."""
if not scrubbing and self.config['auto']:
self._log.debug(u'auto-scrubbing {0}', util.displayable_path(path))