mirror of
https://github.com/beetbox/beets.git
synced 2025-12-25 18:13:17 +01:00
Convert path to bytestring
This is in line with `beets/library.py:336`. Closes #757
This commit is contained in:
parent
de08059da4
commit
180433e72c
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue