diff options
Diffstat (limited to 'beetsplug')
-rw-r--r-- | beetsplug/extras.py | 2 |
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): |