aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--beetsplug/extras.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/beetsplug/extras.py b/beetsplug/extras.py
index 32fe3f6..a8d02e0 100644
--- a/beetsplug/extras.py
+++ b/beetsplug/extras.py
@@ -9,11 +9,11 @@ class ExtrasPlugin(beets.plugins.BeetsPlugin):
self.register_listener('item_moved', self.on_item_moved)
self.register_listener('item_copied', self.on_item_copied)
- def on_item_moved(self, _, source, destination):
+ def on_item_moved(self, item, source, destination):
for (sourcepath, destpath) in self.gather(source, destination):
os.rename(sourcepath, destpath)
- def on_item_copied(self, _, source, destination):
+ def on_item_copied(self, item, source, destination):
for (sourcepath, destpath) in self.gather(source, destination):
if os.path.isdir(sourcepath):
shutil.copytree(sourcepath, destpath)