beetsplug/importadded: Add missing path kwarg to update_after_write_time()

This resolves #3301.
This commit is contained in:
Jan Holthuis 2019-06-07 14:17:39 +02:00
parent e64ecc2f81
commit 2b00e1de24

View file

@ -124,7 +124,7 @@ class ImportAddedPlugin(BeetsPlugin):
util.displayable_path(item.path), item.added)
item.store()
def update_after_write_time(self, item):
def update_after_write_time(self, item, path):
"""Update the mtime of the item's file with the item.added value
after each write of the item if `preserve_write_mtimes` is enabled.
"""