Convert path to bytestring

This is in line with `beets/library.py:336`. Closes #757
This commit is contained in:
Thomas Scholtes 2014-05-21 17:16:40 +02:00
parent de08059da4
commit 180433e72c

View file

@ -366,7 +366,7 @@ class Item(LibModel):
else:
path = normpath(path)
try:
mediafile = MediaFile(path)
mediafile = MediaFile(syspath(path))
except (OSError, IOError) as exc:
raise ReadError(self.path, exc)