diff --git a/beets/util/__init__.py b/beets/util/__init__.py index dc7edd0ff..720ca311a 100644 --- a/beets/util/__init__.py +++ b/beets/util/__init__.py @@ -479,9 +479,9 @@ def move(path, dest, replace=False): instead, in which case metadata will *not* be preserved. Paths are translated to system paths. """ - if os.path.isdir(path): + if os.path.isdir(syspath(path)): raise FilesystemError(u'source is directory', 'move', (path, dest)) - if os.path.isdir(dest): + if os.path.isdir(syspath(dest)): raise FilesystemError(u'destination is directory', 'move', (path, dest)) if samefile(path, dest):