diff --git a/beets/util/__init__.py b/beets/util/__init__.py index 9c87e7994..2890576fd 100644 --- a/beets/util/__init__.py +++ b/beets/util/__init__.py @@ -224,7 +224,8 @@ def sorted_walk(path, ignore=(), ignore_hidden=False, logger=None): def pathlib_as_posix(path): """Return the string representation of the path with forward (/) - slashes.""" + slashes. + """ return path.replace(b'\\', b'/') def mkdirall(path):