aboutsummaryrefslogtreecommitdiffstats
path: root/beetsplug/extras.py
diff options
context:
space:
mode:
Diffstat (limited to 'beetsplug/extras.py')
-rw-r--r--beetsplug/extras.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/beetsplug/extras.py b/beetsplug/extras.py
index a8d02e0..e731b6e 100644
--- a/beetsplug/extras.py
+++ b/beetsplug/extras.py
@@ -11,7 +11,7 @@ class ExtrasPlugin(beets.plugins.BeetsPlugin):
def on_item_moved(self, item, source, destination):
for (sourcepath, destpath) in self.gather(source, destination):
- os.rename(sourcepath, destpath)
+ shutil.move(sourcepath, destpath)
def on_item_copied(self, item, source, destination):
for (sourcepath, destpath) in self.gather(source, destination):