Skip to content

Commit

Permalink
Update beets/util/__init__.py
Browse files Browse the repository at this point in the history
Co-authored-by: Benedikt <wisp3rwind@posteo.eu>
  • Loading branch information
catap and wisp3rwind authored Oct 30, 2021
1 parent 6d891f0 commit e4aca46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beets/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ def move(path, dest, replace=False):
if os.path.isdir(path):
raise FilesystemError(u'source is directory', 'move', (path, dest))
if os.path.isdir(dest):
raise FilesystemError(u'distance is directory', 'move', (path, dest))
raise FilesystemError(u'destination is directory', 'move', (path, dest))
if samefile(path, dest):
return
path = syspath(path)
Expand Down

0 comments on commit e4aca46

Please sign in to comment.