Use util.displayable_path instead of naive .decode()

This commit is contained in:
Steve Johnson 2017-01-15 11:25:03 -08:00
parent 1426aea4a2
commit 926dce241c

View file

@ -38,7 +38,7 @@ def _rep(obj, expand=False):
if isinstance(obj, beets.library.Item):
if app.config.get('INCLUDE_PATHS', False):
out['path'] = out['path'].decode('utf-8')
out['path'] = util.displayable_path(out['path'])
else:
del out['path']