From a91b337d3e6b2c0f9bbd6cbf7dfd64d71bdd584a Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Mon, 1 Jun 2015 23:27:14 +0200 Subject: [PATCH] Fix test_zero --- beets/mediafile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/beets/mediafile.py b/beets/mediafile.py index 2acc95bfc..acc9dbc46 100644 --- a/beets/mediafile.py +++ b/beets/mediafile.py @@ -55,7 +55,7 @@ import traceback import enum from beets import logging -from beets.util import displayable_path +from beets.util import displayable_path, syspath __all__ = ['UnreadableFileError', 'FileTypeError', 'MediaFile'] @@ -1316,6 +1316,7 @@ class MediaFile(object): By default, MP3 files are saved with ID3v2.4 tags. You can use the older ID3v2.3 standard by specifying the `id3v23` option. """ + path = syspath(path) self.path = path unreadable_exc = (