Skip to content

Commit d210645

Browse files
committed
Fix path in read errors while writing (#2599)
1 parent 732f017 commit d210645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beets/library.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ def write(self, path=None, tags=None):
615615
mediafile = MediaFile(syspath(path),
616616
id3v23=beets.config['id3v23'].get(bool))
617617
except UnreadableFileError as exc:
618-
raise ReadError(self.path, exc)
618+
raise ReadError(path, exc)
619619

620620
# Write the tags to the file.
621621
mediafile.update(item_tags)

0 commit comments

Comments
 (0)